remove attribution (this is my code now)

This commit is contained in:
Lea 2023-08-29 18:54:44 +02:00
parent 517d589650
commit 3560c225a4
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

1
main.c
View file

@ -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