Merge pull request #273 from bcostm/master

[NUCLEO_F103RB] Correction in us_ticker
pull/275/head^2
Bogdan Marinescu 2014-04-24 13:11:00 +01:00
commit 0f3d1cc59a
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 {