rfdsatt: fix msleep()
This commit is contained in:
parent
627ead7b21
commit
1adf7c0ee4
|
@ -48,7 +48,7 @@ extern struct attenuator_state *board_att_st[];
|
|||
/* busy wait specified number of ms */
|
||||
void msleep(uint32_t delay)
|
||||
{
|
||||
uint32_t wake = time_now() + delay;
|
||||
uint32_t wake = time_now() + delay*1000;
|
||||
do {
|
||||
} while (wake > time_now());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue