Added in code to fix deepsleep underflow. Nullify event handler member variable.

pull/10689/head
George Beckstein 2019-03-15 21:23:18 -04:00 committed by aglass0fmilk
parent cc4d8e6d75
commit 57de05c54b
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ void USBPhyHw::deinit()
sleep_manager_unlock_deep_sleep();
}
this->events = NULL;
// Clear the instance pointer
instance = 0;
}