1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Initialize tasks data earlier

This commit is contained in:
Hans Christian Olaussen 2022-04-16 16:01:50 +02:00
parent f5a56804b1
commit 205b8cd2ad
3 changed files with 10 additions and 1 deletions

View file

@ -261,6 +261,10 @@ void init(void)
systemInit();
// Initialize task data as soon as possible. Has to be done before tasksInit(),
// and any init code that may try to modify task behaviour before tasksInit().
tasksInitData();
// initialize IO (needed for all IO operations)
IOInitGlobal();