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:
@@ -95,7 +95,10 @@ void start_PWM_output(void) {
|
||||
}
|
||||
|
||||
// Timer 0 is used to co-ordinate the ADC and the output PWM
|
||||
void timer0_comp0_callback(void) { ADC_Start(); }
|
||||
void timer0_comp0_callback(void) {
|
||||
PWM_Channel_Disable(PWM_Channel);
|
||||
ADC_Start();
|
||||
}
|
||||
void timer0_comp1_callback(void) { PWM_Channel_Disable(PWM_Channel); } // Trigged at end of output cycle; turn off the tip PWM
|
||||
|
||||
void switchToFastPWM(void) {
|
||||
|
||||
Reference in New Issue
Block a user