[9x] Simu compilation fix when VOICE option enabled

This commit is contained in:
Bertrand Songis
2016-03-24 21:42:32 +01:00
parent 31fa16bf87
commit d6dfdea6e2
2 changed files with 22 additions and 21 deletions
+21 -21
View File
@@ -1,24 +1,24 @@
/* /*
* Copyright (C) OpenTX * Copyright (C) OpenTX
* *
* Based on code named * Based on code named
* th9x - http://code.google.com/p/th9x * th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x * er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x * gruvin9x - http://code.google.com/p/gruvin9x
* *
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include "../../opentx.h" #include "opentx.h"
struct t_voice Voice ; struct t_voice Voice ;
+1
View File
@@ -327,6 +327,7 @@ extern void rxPdcUsart( void (*pChProcess)(uint8_t x) );
#define FE0 0 #define FE0 0
#define ISR(x, ...) void x() #define ISR(x, ...) void x()
#define asm(...)
#if defined(CPUARM) #if defined(CPUARM)
extern uint32_t Master_frequency; extern uint32_t Master_frequency;