change wrong naming in comment

This commit is contained in:
Stefan Rupp 2015-01-09 03:12:11 +01:00
parent 06af784482
commit 3d1a1f392e

View File

@ -46,7 +46,7 @@ void timer_init(void)
// ==> let timer count to 77 to get (almost) 1kHz frequency
// therefore:
// - Set Timer/Counter0 prescaler to 256 ==> (1<<CS02)
// - Set OCR2 to 77
// - Set OCR0 to 77
// - CTC ( i.e. clear counter, when COUNTER == OCR0A) ==> (1<<WGM01)
// unfortunately, due to the 20MHz and the coarse prescaler dividers
// provided, we can't get any closer to the desired frequency of