Skip to content

Commit 74a21d4

Browse files
committed
task: update task priority
1 parent e6f29de commit 74a21d4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

main/src/system/task.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
void task_init(void)
2121
{
22+
xTaskCreate(nfc_daemon, "nfc_daemon", 4000, NULL, 5, NULL);
23+
xTaskCreate(ntp_daemon, "ntp_daemon", 2000, NULL, 5, NULL);
24+
xTaskCreate(wifi_daemon, "wifi_daemon", 768, NULL, 5, NULL);
25+
2226
#if defined(CONFIG_ENABLE_LED)
2327
xTaskCreate(led_daemon, "led_daemon", 640, NULL, 6, NULL);
2428
#endif
@@ -28,15 +32,12 @@ void task_init(void)
2832
#endif
2933

3034
#if defined(CONFIG_ENABLE_AUDIO)
31-
xTaskCreate(audio_daemon, "audio_daemon", 8448, NULL, 6, NULL);
35+
xTaskCreate(audio_daemon, "audio_daemon", 8448, NULL, 7, NULL);
3236
#endif
3337

3438
#if defined(CONFIG_ENABLE_BLUFI)
35-
xTaskCreate(blufi_daemon, "blufi_daemon", 960, NULL, 6, NULL);
39+
xTaskCreate(blufi_daemon, "blufi_daemon", 960, NULL, 7, NULL);
3640
#endif
3741

38-
xTaskCreate(nfc_daemon, "nfc_daemon", 4000, NULL, 4, NULL);
39-
xTaskCreate(ntp_daemon, "ntp_daemon", 2000, NULL, 5, NULL);
40-
xTaskCreate(wifi_daemon, "wifi_daemon", 768, NULL, 5, NULL);
41-
xTaskCreate(http2_daemon, "http2_daemon", 19200, NULL, 5, NULL);
42+
xTaskCreate(http2_daemon, "http2_daemon", 19200, NULL, 7, NULL);
4243
}

0 commit comments

Comments
 (0)