Makefile now ok with the ersky9x board

This commit is contained in:
bsongis
2012-03-23 23:46:41 +00:00
parent bdda7c3ddf
commit 35ba45c1d5
12 changed files with 900 additions and 394 deletions
+11
View File
@@ -44,6 +44,17 @@ extern bool warbleC;
extern uint8_t hapticTick;
#endif
#if defined(PCBARM)
#include "ersky9x/sound.h"
inline void _beep(uint8_t b) {
buzzer_sound(b);
}
#else
inline void _beep(uint8_t b) {
g_beepCnt = b;
}
#endif
extern void beep(uint8_t val);
#define AUDIO_KEYPAD_UP() beep(0)