Current consumption may depend on 3 different sources

Flash saving in FrSky code
SD card wav player (still read as raw 12000Hz 16bit samples)
This commit is contained in:
bsongis
2012-06-26 10:09:31 +00:00
parent 61bbfd6e7c
commit 5dd7c105b6
29 changed files with 1285 additions and 905 deletions
+10
View File
@@ -99,6 +99,7 @@ extern sem_t *eeprom_write_sem;
#if defined(PCBARM)
extern Pio Pioa, Piob, Pioc;
extern Twi Twio;
extern Dacc dacc;
extern Usart Usart0;
#undef USART0
#define USART0 (&Usart0)
@@ -110,6 +111,8 @@ extern Usart Usart0;
#define PIOC (&Pioc)
#undef TWI0
#define TWI0 (&Twio)
#undef DACC
#define DACC (&dacc)
extern Pwm pwm;
#undef PWM
#define PWM (&pwm)
@@ -292,4 +295,11 @@ void eeprom_read_block (void *pointer_ram,
#define wdt_reset() sleep(1/*ms*/)
#define board_init()
#define CoSetFlag(...)
#define CoSetTmrCnt(...)
#define CoEnterISR(...)
#define CoExitISR(...)
#define CoStartTmr(...)
#define CoWaitForSingleFlag(...)
#endif