Call reset multicore before launching the thread.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
4cf8d77609
commit
e8b060abb3
1 changed files with 1 additions and 1 deletions
|
|
@ -119,6 +119,7 @@ void card_start(uint8_t itf, void (*func)(void)) {
|
|||
card_exit();
|
||||
}
|
||||
if (func) {
|
||||
multicore_reset_core1();
|
||||
multicore_launch_core1(func);
|
||||
}
|
||||
led_set_blink(BLINK_MOUNTED);
|
||||
|
|
@ -148,7 +149,6 @@ void card_exit() {
|
|||
#endif
|
||||
}
|
||||
led_set_blink(BLINK_SUSPENDED);
|
||||
multicore_reset_core1();
|
||||
#ifdef ESP_PLATFORM
|
||||
hcore1 = NULL;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue