rfdsatt: fix msleep()

This commit is contained in:
Harald Welte 2021-05-06 08:32:48 +02:00
parent 627ead7b21
commit 1adf7c0ee4
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}