[NUCLEO_F103RB] Correction in us_ticker

pull/273/head
bcostm 2014-04-23 15:11:02 +02:00
parent bc64051587
commit bbfdef0fac
1 changed files with 2 additions and 3 deletions

View File

@ -62,9 +62,8 @@ static void tim_irq_handler(void) {
}
else {
if (oc_int_part > 0) {
//set_compare(0);
//oc_rem_part = cval; // To finish the counter loop the next time
//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
oc_int_part--;
}
else {