Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 339 → Rev 340

/FollowMe/main.c
17,6 → 17,7
 
 
#define FOLLOWME_INTERVAL 1000 // 1 second update
#define CELLUNDERVOLTAGE 31 // lowest allowed voltage/cell; 31 = 3.1V
 
#ifdef USE_FOLLOWME
int16_t UBat = 120;
194,7 → 195,7
if(delay < 1500) delay++;
 
// monitor battery undervoltage
if((UBat < Zellenzahl * 31) && (PowerOn >= 100))
if((UBat < Zellenzahl * CELLUNDERVOLTAGE) && (PowerOn >= 100))
{ // sound for low battery
BeepModulation = 0x0300;
if(!BeepTime)