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:
parent
f5a56804b1
commit
205b8cd2ad
3 changed files with 10 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue