mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Update IRQ.cpp
This commit is contained in:
committed by
Ben V. Brown
parent
05384ae5a0
commit
d7bcd2245b
@@ -68,7 +68,7 @@ volatile uint16_t PWMSafetyTimer = 0;
|
|||||||
volatile uint8_t pendingPWM = 0;
|
volatile uint8_t pendingPWM = 0;
|
||||||
volatile bool pendingNextPeriodIsFast = false;
|
volatile bool pendingNextPeriodIsFast = false;
|
||||||
|
|
||||||
void start_PWM_output(void) {
|
inline void start_PWM_output(void) {
|
||||||
TIMER_Disable(TIMER_CH0);
|
TIMER_Disable(TIMER_CH0);
|
||||||
|
|
||||||
if (PWMSafetyTimer) {
|
if (PWMSafetyTimer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user