|
|
@ -211,8 +211,8 @@ void SetupHardware(void)
|
|
|
|
RTC_Init();
|
|
|
|
RTC_Init();
|
|
|
|
|
|
|
|
|
|
|
|
/* 500ms logging interval timer configuration */
|
|
|
|
/* 500ms logging interval timer configuration */
|
|
|
|
OCR1A = (((F_CPU / 1024) / 2) - 1);
|
|
|
|
OCR1A = (((F_CPU / 256) / 2) - 1);
|
|
|
|
TCCR1B = (1 << WGM12) | (1 << CS12) | (1 << CS10);
|
|
|
|
TCCR1B = (1 << WGM12) | (1 << CS12);
|
|
|
|
TIMSK1 = (1 << OCIE1A);
|
|
|
|
TIMSK1 = (1 << OCIE1A);
|
|
|
|
|
|
|
|
|
|
|
|
/* Check if the Dataflash is working, abort if not */
|
|
|
|
/* Check if the Dataflash is working, abort if not */
|
|
|
|