remove attribution (this is my code now)
This commit is contained in:
parent
517d589650
commit
3560c225a4
1
main.c
1
main.c
|
@ -13,7 +13,6 @@
|
||||||
int timer_start = 0xffff - (F_CPU / 1024 / 1000);
|
int timer_start = 0xffff - (F_CPU / 1024 / 1000);
|
||||||
volatile uint32_t ticks = 0;
|
volatile uint32_t ticks = 0;
|
||||||
|
|
||||||
// https://gist.github.com/Wollw/2381139
|
|
||||||
void start_timer() {
|
void start_timer() {
|
||||||
// Sets the Clock Select. See table on page 157 the Atmel datasheet.
|
// Sets the Clock Select. See table on page 157 the Atmel datasheet.
|
||||||
TCCR1B |= _BV(CS10) | _BV(CS12); // clk/1024
|
TCCR1B |= _BV(CS10) | _BV(CS12); // clk/1024
|
||||||
|
|
Loading…
Reference in a new issue