From 7068f1c830851cb488b7d233359db865f2eedf6c Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Thu, 21 Nov 2024 17:11:12 +0100 Subject: [PATCH] chore(hardwaretimer): update definition TIMER_DISABLED replaced by TIMER_OUTPUT_DISABLED See https://github.com/stm32duino/Arduino_Core_STM32/pull/2572 Signed-off-by: Frederic Pillon --- .../HardwareTimer_OutputInput_test.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino b/examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino index 12a499b..1dc20d3 100644 --- a/examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino +++ b/examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test/HardwareTimer_OutputInput_test.ino @@ -453,7 +453,7 @@ void loop() test_step++; MyTim_output->pauseChannel(Output1_channel); - MyTim_output->setMode(Output1_channel, TIMER_DISABLED); + MyTim_output->setMode(Output1_channel, TIMER_OUTPUT_DISABLED); MyTim_output->resumeChannel(Output1_channel); Verify_output(1, 0, 0); // in PWM2, output is the complementary of PW1 Verify_output(2, OUTPUT_FREQUENCY, OUTPUT_DUTY2);