return sdcard from hardware init

This commit is contained in:
2025-10-01 17:54:54 +02:00
parent 57ccc0cc8b
commit cc3605b75d
2 changed files with 6 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ type TallyPublisher = Publisher<'static, NoopRawMutex, TallyID, 8, 2, 1>;
#[esp_hal_embassy::main]
async fn main(mut spawner: Spawner) {
let (uart_device, stack, _i2c, _led, buzzer_gpio, sd_det_gpio) =
let (uart_device, stack, _i2c, _led, buzzer_gpio, sd_det_gpio, persistence_layer) =
init::hardware::hardware_init(&mut spawner).await;
wait_for_stack_up(stack).await;