[sky9x] RTC Clock on FAT (not tested)

[gruvin9x] RTC Menu redesigned
[stock] ~50bytes flash saved
This commit is contained in:
bsongis
2012-10-01 19:58:10 +00:00
parent 18f06e8395
commit 002447dbb5
18 changed files with 855 additions and 810 deletions
+4 -16
View File
@@ -52,6 +52,8 @@
#if defined(PCBARM)
#include "board_ersky9x.h"
#elif defined(PCBV4)
#include "board_gruvin9x.h"
#endif
#if defined(SIMU)
@@ -904,19 +906,6 @@ extern void deleteExpoMix(uint8_t expo, uint8_t idx);
extern void incSubtrim(uint8_t idx, int16_t inc);
extern void instantTrim();
extern void moveTrimsToOffsets();
#if defined(PCBARM)
typedef struct
{
unsigned char second; //enter the current time, date, month, and year
unsigned char minute;
unsigned char hour;
unsigned char date;
unsigned char month;
unsigned int year;
} t_time ;
extern t_time Time ;
#endif
#if defined(PCBARM)
#define ACTIVE_EXPOS_TYPE uint32_t
@@ -1084,9 +1073,8 @@ enum AUDIO_SOUNDS {
#include "sdcard.h"
#endif
#if defined(PCBV4)
#include "gruvin9x/rtc.h"
extern uint8_t g_ms100; // global to allow time set function to reset to zero
#if defined(RTCLOCK)
#include "rtc.h"
#endif
// Re-useable byte array to save having multiple buffers