Update to latest libopenui
This commit is contained in:
@@ -123,15 +123,6 @@ uint32_t sdMounted();
|
||||
#define SD_CARD_PRESENT() true
|
||||
#endif
|
||||
|
||||
#if defined(DISK_CACHE)
|
||||
#include "FatFs/diskio.h"
|
||||
DRESULT __disk_read(BYTE drv, BYTE * buff, DWORD sector, UINT count);
|
||||
DRESULT __disk_write(BYTE drv, const BYTE * buff, DWORD sector, UINT count);
|
||||
#else
|
||||
#define __disk_read disk_read
|
||||
#define __disk_write disk_write
|
||||
#endif
|
||||
|
||||
// Flash Write driver
|
||||
#define FLASH_PAGESIZE 256
|
||||
void unlockFlash();
|
||||
@@ -658,13 +649,13 @@ void bluetoothWriteWakeup();
|
||||
uint8_t bluetoothIsWriting();
|
||||
void bluetoothDisable();
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include "fifo.h"
|
||||
#include "dmafifo.h"
|
||||
extern DMAFifo<512> telemetryFifo;
|
||||
typedef DMAFifo<32> AuxSerialRxFifo;
|
||||
extern AuxSerialRxFifo auxSerialRxFifo;
|
||||
extern volatile uint32_t externalModulePort;
|
||||
#endif
|
||||
//#if defined(__cplusplus)
|
||||
//#include "fifo.h"
|
||||
//#include "dmafifo.h"
|
||||
//extern DMAFifo<512> telemetryFifo;
|
||||
//typedef DMAFifo<32> AuxSerialRxFifo;
|
||||
//extern AuxSerialRxFifo auxSerialRxFifo;
|
||||
//extern volatile uint32_t externalModulePort;
|
||||
//#endif
|
||||
|
||||
#endif // _BOARD_H_
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#ifndef _HAL_H_
|
||||
#define _HAL_H_
|
||||
|
||||
#define CPU_FREQ 168000000
|
||||
|
||||
// Keys
|
||||
#define KEYS_RCC_AHB1Periph (RCC_AHB1Periph_GPIOB | RCC_AHB1Periph_GPIOC | RCC_AHB1Periph_GPIOD | RCC_AHB1Periph_GPIOE | RCC_AHB1Periph_GPIOG | RCC_AHB1Periph_GPIOH | RCC_AHB1Periph_GPIOI | RCC_AHB1Periph_GPIOJ)
|
||||
#if defined(PCBX12S)
|
||||
|
||||
Reference in New Issue
Block a user