removed tabs, properly cased integer.h include for real OS' :)

This commit is contained in:
Peter Edwards
2016-01-04 18:32:07 +02:00
parent c06062b0d0
commit 78ae620890
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
#include <avr/io.h>
#include "Integer.h"
#include "integer.h"
#include "spi.h"
+4 -4
View File
@@ -282,7 +282,7 @@ ISR(TIMER1_COMPA_vect) {
}
ISR(TIMER2_COMPA_vect) {
disk_timerproc(); // Drive timer procedure for FatFs low level disk I/O module
disk_timerproc(); // Drive timer procedure for FatFs low level disk I/O module
input_callback();
g_timer_tick++; // system ticker for timing
}
@@ -291,10 +291,10 @@ void disk_timer_setup() {
TCCR2A = 0;
TCCR2B = 0;
OCR2A = F_CPU / 1024 / 100 - 1; // 100Hz timer
TCCR2A = _BV(WGM21); // CTC Mode
OCR2A = F_CPU / 1024 / 100 - 1; // 100Hz timer
TCCR2A = _BV(WGM21); // CTC Mode
TCCR2B |= (1 << CS22) | (1 << CS21) | (1 << CS20); //pre-scaler 1024
TIMSK2 |= _BV(OCIE2A);
TIMSK2 |= _BV(OCIE2A);
}
void signal_timer_start(uint8_t recording) {