From 78ae620890283428cf2d687b5d68f0fc17220631 Mon Sep 17 00:00:00 2001 From: Peter Edwards Date: Mon, 4 Jan 2016 18:32:07 +0200 Subject: [PATCH] removed tabs, properly cased integer.h include for real OS' :) --- spi.c | 2 +- tapuino.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spi.c b/spi.c index 1c80191..88f92ae 100644 --- a/spi.c +++ b/spi.c @@ -1,5 +1,5 @@ #include -#include "Integer.h" +#include "integer.h" #include "spi.h" diff --git a/tapuino.c b/tapuino.c index eb352a3..ed8a7c2 100644 --- a/tapuino.c +++ b/tapuino.c @@ -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 } @@ -290,11 +290,11 @@ ISR(TIMER2_COMPA_vect) { 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) { @@ -517,7 +517,7 @@ void record_file(char* pfile_name) { memset (g_fat_buffer, 0, sizeof(g_fat_buffer)); // clear it all out uint32_t* buffer_magic = (uint32_t*) g_fat_buffer; //set appropriate header informations for C64 or C16 - if (g_machine_type == C16) { + if (g_machine_type == C16) { buffer_magic[0] = TAP_MAGIC_C16; g_fat_buffer[13] = C16; } else {