sync
This commit is contained in:
@@ -48,10 +48,17 @@ int main(void)
|
||||
|
||||
LOG_INF("All subsystems initialized. Starting application threads.");
|
||||
audio_system_ready();
|
||||
k_sleep(K_SECONDS(5)); // Kurze Pause, damit die READY-Antworten der Subsysteme noch rausgehen
|
||||
volatile uint32_t *invalid_pointer = (volatile uint32_t *)0xFFFFFFFF;
|
||||
*invalid_pointer = 0xDEADBEEF;
|
||||
while (1) {
|
||||
if (!boot_is_img_confirmed())
|
||||
{
|
||||
LOG_INF("Confirmation of firmware image pending. Inform user...");
|
||||
audio_play("/lfs/sys/update");
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_INF("Firmware image already confirmed. No need to confirm again.");
|
||||
}
|
||||
while (1)
|
||||
{
|
||||
k_sleep(K_FOREVER);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user