Compilation problems in companion9x

This commit is contained in:
bsongis
2012-03-22 15:14:04 +00:00
parent 1ad8a84201
commit a26ae476ce
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
/* are platform dependent. */ /* are platform dependent. */
/*-----------------------------------------------------------------------*/ /*-----------------------------------------------------------------------*/
#include "open9x.h" #include "../open9x.h"
#include "diskio.h" #include "diskio.h"
/* Definitions for MMC/SDC command */ /* Definitions for MMC/SDC command */
+1 -1
View File
@@ -31,7 +31,7 @@
* *
*/ */
#include "open9x.h" #include "../open9x.h"
#include "ff.h" #include "ff.h"
char g_logFilename[21]; // "/O9XLOGS/M00_000.CSV\0" max required length = 21 char g_logFilename[21]; // "/O9XLOGS/M00_000.CSV\0" max required length = 21
+1 -1
View File
@@ -35,7 +35,7 @@
/*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/
/* RTC controls */ /* RTC controls */
#include "open9x.h" #include "../open9x.h"
#define SCL_LOW() DDRD |= 0x01 /* SCL = LOW */ #define SCL_LOW() DDRD |= 0x01 /* SCL = LOW */
#define SCL_HIGH() DDRD &= ~0x01 /* SCL = High-Z */ #define SCL_HIGH() DDRD &= ~0x01 /* SCL = High-Z */
+3 -3
View File
@@ -42,8 +42,8 @@
#include <stddef.h> #include <stddef.h>
#if defined(PCBV4) #if defined(PCBV4)
#include "ff.h" #include "gruvin9x/ff.h"
#include "gtime.h" #include "gruvin9x/gtime.h"
#endif #endif
#if defined(SIMU) #if defined(SIMU)
@@ -705,7 +705,7 @@ inline void _beep(uint8_t b) {
// MM/SD card Disk IO Support // MM/SD card Disk IO Support
#if defined (PCBV4) #if defined (PCBV4)
#include "rtc.h" #include "gruvin9x/rtc.h"
extern void disk_timerproc(void); extern void disk_timerproc(void);
extern gtime_t g_unixTime; // global unix timestamp -- hold current time in seconds since 1970-01-01 00:00:00 extern gtime_t g_unixTime; // global unix timestamp -- hold current time in seconds since 1970-01-01 00:00:00
extern uint8_t g_ms100; // defined in drivers.cpp extern uint8_t g_ms100; // defined in drivers.cpp