mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 11:03:33 +08:00
STM32: Fixed critical sections, removed clock interface for can driver
This commit is contained in:
@@ -30,7 +30,9 @@ void Event::signal()
|
||||
|
||||
void Event::signalFromInterrupt()
|
||||
{
|
||||
chSysLockFromIsr();
|
||||
sem_.signalI();
|
||||
chSysUnlockFromIsr();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user