feat(radio): OS compatibility layer (#5840)

This commit is contained in:
Raphael Coeffic
2025-05-03 19:07:49 +10:00
committed by GitHub
parent c996612b0a
commit ab2a19e153
92 changed files with 1740 additions and 896 deletions
@@ -21,6 +21,7 @@
#include "vs1053b.h"
#include "os/sleep.h"
#include "stm32_hal_ll.h"
#include "stm32_gpio_driver.h"
#include "stm32_gpio.h"
@@ -327,7 +328,7 @@ static void vs1053b_unmute()
if (_is_muted) {
// ..un-mute
_set_mute_pin(false);
RTOS_WAIT_MS(_instance->unmute_delay_ms);
sleep_ms(_instance->unmute_delay_ms);
}
// reset the mute delay
_last_play_ts = 0;