Skip to content

Commit 4984100

Browse files
committed
HardwareTimer: remove usage of TIMER_OUTPUT_COMPARE mode
With introduction of PR stm32duino/Arduino_Core_STM32#1247 Usage of TIMER_OUTPUT_COMPARE becomes obsolete. Note: removing setMode(1, TIMER_OUTPUT_COMPARE) also works before PR #1247. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent 7907e31 commit 4984100

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utility/stm32_eth.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ static void TIM_scheduler_Config(void)
176176
{
177177
/* Configure HardwareTimer */
178178
HardwareTimer *EthTim = new HardwareTimer(DEFAULT_ETHERNET_TIMER);
179-
EthTim->setMode(1, TIMER_OUTPUT_COMPARE);
180179

181180
/* Timer set to 1ms */
182181
EthTim->setOverflow(1000, MICROSEC_FORMAT);

0 commit comments

Comments
 (0)