Audio system on ersky9x ... another rewrite

Some flash saved on stock
GPS calculations flash saving (around 100bytes, needs to be tested)
This commit is contained in:
bsongis
2012-07-06 13:09:29 +00:00
parent e94db55b27
commit cb073fa549
10 changed files with 177 additions and 116 deletions
+2 -3
View File
@@ -46,9 +46,8 @@ extern void start_timer1( void ) ;
extern void initDac( void ) ;
extern void end_sound( void ) ;
#define WAV_BUFFER_SIZE 1200
extern uint16_t wavSamplesArray[2*WAV_BUFFER_SIZE]; /* 2 buffers of 100ms at 12kHz */
extern uint16_t *wavSamplesBuffer;
extern uint16_t *nextAudioData;
extern uint16_t nextAudioSize;
inline void toneStart()
{