We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc64051 commit bbfdef0Copy full SHA for bbfdef0
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/us_ticker.c
@@ -62,9 +62,8 @@ static void tim_irq_handler(void) {
62
}
63
else {
64
if (oc_int_part > 0) {
65
- //set_compare(0);
66
- //oc_rem_part = cval; // To finish the counter loop the next time
67
- //if (oc_rem_part == 0) GPIOB->ODR ^= (1 << 6); // DEBUG
+ set_compare(0xFFFF);
+ oc_rem_part = cval; // To finish the counter loop the next time
68
oc_int_part--;
69
70
0 commit comments