Compilation errors fixed

This commit is contained in:
bsongis
2012-09-28 22:02:35 +00:00
parent 81d37a96dd
commit 733682a51a
4 changed files with 10 additions and 6 deletions
-3
View File
@@ -55,9 +55,6 @@ volatile uint32_t Tenms ;
/** Pins description corresponding to Rxd,Txd, (UART pins) */ /** Pins description corresponding to Rxd,Txd, (UART pins) */
#define SECOND_PINS {PINS_USART0} #define SECOND_PINS {PINS_USART0}
#define BT_USART UART1
#define BT_ID ID_UART1
#define CPU_INT int32_t #define CPU_INT int32_t
#define CPU_UINT uint32_t #define CPU_UINT uint32_t
+4
View File
@@ -604,6 +604,10 @@ extern uint32_t transSpeed;
#define BOARD_USART_BASE USART1 #define BOARD_USART_BASE USART1
#define BOARD_ID_USART ID_USART1 #define BOARD_ID_USART ID_USART1
// BlueTooth
#define BT_USART UART1
#define BT_ID ID_UART1
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
+1 -3
View File
@@ -40,9 +40,7 @@
old DSM2 code) which seemed to much for the interrupt. old DSM2 code) which seemed to much for the interrupt.
*/ */
#ifndef SIMU #include "../open9x.h"
#include "open9x.h"
#endif
// Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high // Start and stop bits need to be 2ms in duration. Start bit is low, stop bit is high
#define SOMOSSBIT 4 //The 2ms of a stop/start bit #define SOMOSSBIT 4 //The 2ms of a stop/start bit
+5
View File
@@ -287,7 +287,9 @@ namespace simu {
#include <direct.h> #include <direct.h>
#endif #endif
#if defined(PCBARM)
FATFS g_FATFS_Obj; FATFS g_FATFS_Obj;
#endif
FRESULT f_stat (const TCHAR*, FILINFO*) FRESULT f_stat (const TCHAR*, FILINFO*)
{ {
@@ -410,6 +412,9 @@ FRESULT f_getcwd (TCHAR *path, UINT sz_path)
return FR_OK; return FR_OK;
} }
#if defined(PCBARM)
int32_t Card_state = SD_ST_MOUNTED; int32_t Card_state = SD_ST_MOUNTED;
uint32_t Card_CSD[4]; // TODO elsewhere uint32_t Card_CSD[4]; // TODO elsewhere
#endif #endif
#endif