Merge pull request #5835 from mali/timer

cpu/atmega_common: fix timer_set_absolute return code
This commit is contained in:
Oleg Hahm 2016-09-23 19:35:22 +02:00 committed by GitHub
commit ed3aa6c46e

View File

@ -141,7 +141,7 @@ int timer_set_absolute(tim_t tim, int channel, unsigned int value)
*ctx[tim].flag &= ~(1 << (channel + OCF1A));
*ctx[tim].mask |= (1 << (channel + OCIE1A));
return 0;
return 1;
}
int timer_clear(tim_t tim, int channel)