[X9D] Makefile option added: CPUARM

[Sky9x] GVARS Bug in EEPROM
[Sky9x] Mu-law codec added
This commit is contained in:
bsongis
2012-12-10 21:00:02 +00:00
parent 2037f0d8b0
commit 5a2d6cb250
49 changed files with 11057 additions and 361 deletions
+6 -5
View File
@@ -44,13 +44,14 @@ extern bool warbleC;
extern uint8_t hapticTick;
#endif
#if defined(PCBSKY9X)
#include "sky9x/sound.h"
inline void _beep(uint8_t b) {
#if defined(CPUARM)
inline void _beep(uint8_t b)
{
buzzer_sound(b);
}
#else
inline void _beep(uint8_t b) {
inline void _beep(uint8_t b)
{
g_beepCnt = b;
}
#endif
@@ -86,7 +87,7 @@ extern void beep(uint8_t val);
#define IS_AUDIO_BUSY() (g_beepCnt || beepAgain || beepOn)
#define AUDIO_RESET()
#if !defined(PCBSKY9X)
#if !defined(CPUARM)
inline void AUDIO_HEARTBEAT()
{
if(g_beepCnt) {