Skip to content

Commit 7068f1c

Browse files
committed
chore(hardwaretimer): update definition
TIMER_DISABLED replaced by TIMER_OUTPUT_DISABLED See stm32duino/Arduino_Core_STM32#2572 Signed-off-by: Frederic Pillon <[email protected]>
1 parent a841002 commit 7068f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ void loop()
453453
test_step++;
454454

455455
MyTim_output->pauseChannel(Output1_channel);
456-
MyTim_output->setMode(Output1_channel, TIMER_DISABLED);
456+
MyTim_output->setMode(Output1_channel, TIMER_OUTPUT_DISABLED);
457457
MyTim_output->resumeChannel(Output1_channel);
458458
Verify_output(1, 0, 0); // in PWM2, output is the complementary of PW1
459459
Verify_output(2, OUTPUT_FREQUENCY, OUTPUT_DUTY2);

0 commit comments

Comments
 (0)