/FollowMe/temp/FollowMe/main.c |
---|
14,7 → 14,7 |
#include "analog.h" |
#include "gps.h" |
#include "button.h" |
#include "logging.h" |
//#include "logging.h" |
#include "settings.h" |
#define FOLLOWME_INTERVAL 1000 // 1 second update |
63,8 → 63,6 |
// enable interrupts global |
sei(); |
Fat16_Init(); |
LEDRED_OFF; |
LEDGRN_ON; |
74,7 → 72,7 |
// initialize the settings |
Settings_Init(); |
// initialize logging (needs settings) |
Logging_Init(); |
//Logging_Init(); |
#ifdef USE_SDLOGGER |
printf("\r\n\r\nHW: SD-Logger"); |
209,7 → 207,7 |
BeepModulation = 0x0300; |
if(!BeepTime) |
{ |
BeepTime = 6000; // 0.6 seconds |
//BeepTime = 6000; // 0.6 seconds |
} |
Error |= ERROR_LOW_BAT; |
} |