Compilation fixes
This commit is contained in:
@@ -40,7 +40,7 @@ display_t displayBuf[DISPLAY_BUF_SIZE];
|
|||||||
|
|
||||||
void lcd_clear()
|
void lcd_clear()
|
||||||
{
|
{
|
||||||
memset(displayBuf, 0, DISPLAY_BUFER_SIZE);
|
memset(displayBuf, 0, DISPLAY_BUFFER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
coord_t lcdLastPos;
|
coord_t lcdLastPos;
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ extern display_t displayBuf[DISPLAY_BUF_SIZE];
|
|||||||
extern coord_t lcdLastPos;
|
extern coord_t lcdLastPos;
|
||||||
extern coord_t lcdNextPos;
|
extern coord_t lcdNextPos;
|
||||||
|
|
||||||
#define DISPLAY_BUFER_SIZE (sizeof(display_t)*DISPLAY_BUF_SIZE)
|
#define DISPLAY_BUFFER_SIZE (sizeof(display_t)*DISPLAY_BUF_SIZE)
|
||||||
#define DISPLAY_END (displayBuf + DISPLAY_BUF_SIZE)
|
#define DISPLAY_END (displayBuf + DISPLAY_BUF_SIZE)
|
||||||
#define ASSERT_IN_DISPLAY(p) assert((p) >= displayBuf && (p) < DISPLAY_END)
|
#define ASSERT_IN_DISPLAY(p) assert((p) >= displayBuf && (p) < DISPLAY_END)
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ inline bool lcdIsPointOutside(coord_t x, coord_t y)
|
|||||||
|
|
||||||
void lcd_clear()
|
void lcd_clear()
|
||||||
{
|
{
|
||||||
memset(displayBuf, 0, DISPLAY_BUFER_SIZE);
|
memset(displayBuf, 0, DISPLAY_BUFFER_SIZE);
|
||||||
}
|
}
|
||||||
|
|
||||||
coord_t lcdLastPos;
|
coord_t lcdLastPos;
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
extern coord_t lcdLastPos;
|
extern coord_t lcdLastPos;
|
||||||
extern coord_t lcdNextPos;
|
extern coord_t lcdNextPos;
|
||||||
|
|
||||||
#define DISPLAY_BUFER_SIZE (sizeof(display_t)*DISPLAY_BUF_SIZE)
|
#define DISPLAY_BUFFER_SIZE (sizeof(display_t)*DISPLAY_BUF_SIZE)
|
||||||
#define DISPLAY_END (displayBuf + DISPLAY_BUF_SIZE)
|
#define DISPLAY_END (displayBuf + DISPLAY_BUF_SIZE)
|
||||||
#define ASSERT_IN_DISPLAY(p) assert((p) >= displayBuf && (p) < DISPLAY_END)
|
#define ASSERT_IN_DISPLAY(p) assert((p) >= displayBuf && (p) < DISPLAY_END)
|
||||||
|
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ void *main_thread(void *)
|
|||||||
try {
|
try {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(COLORLCD)
|
#if defined(PCBHORUS)
|
||||||
lcdColorsInit();
|
lcdColorsInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include "gtests.h"
|
#include "gtests.h"
|
||||||
|
|
||||||
#if !defined(PCBSKY9X)
|
#if !defined(PCBSKY9X)
|
||||||
TEST(EEPROM, 100_random_writes)
|
TEST(Eeprom, 100_random_writes)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
RlcFile f;
|
RlcFile f;
|
||||||
@@ -60,7 +60,7 @@ TEST(EEPROM, 100_random_writes)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(EEPROM, test2)
|
TEST(Eeprom, test2)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
RlcFile f;
|
RlcFile f;
|
||||||
@@ -83,7 +83,7 @@ TEST(EEPROM, test2)
|
|||||||
EXPECT_EQ(sz, 300);
|
EXPECT_EQ(sz, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(EEPROM, eeCheckImmediately)
|
TEST(Eeprom, eeCheckImmediately)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
// RlcFile f;
|
// RlcFile f;
|
||||||
@@ -108,7 +108,7 @@ TEST(EEPROM, eeCheckImmediately)
|
|||||||
EXPECT_EQ(sz, 300);
|
EXPECT_EQ(sz, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(EEPROM, copy)
|
TEST(Eeprom, copy)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
|
|
||||||
@@ -133,7 +133,7 @@ TEST(EEPROM, copy)
|
|||||||
EXPECT_EQ(sz, 300);
|
EXPECT_EQ(sz, 300);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(EEPROM, rm)
|
TEST(Eeprom, rm)
|
||||||
{
|
{
|
||||||
eepromFile = NULL; // in memory
|
eepromFile = NULL; // in memory
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
#ifndef __USB_AUDIO_CORE_H_
|
#ifndef __USB_AUDIO_CORE_H_
|
||||||
#define __USB_AUDIO_CORE_H_
|
#define __USB_AUDIO_CORE_H_
|
||||||
|
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_desc.h"
|
#include "usbd_desc.h"
|
||||||
#include "usbd_ioreq.h"
|
#include "usbd_ioreq.h"
|
||||||
#include "usbd_req.h"
|
#include "usbd_req.h"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -30,8 +30,8 @@
|
|||||||
#define __USBD_CDC_IF_TEMPLATE_H
|
#define __USBD_CDC_IF_TEMPLATE_H
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_conf.h"
|
#include "usbd_conf.h"
|
||||||
#include "usbd_cdc_core.h"
|
#include "usbd_cdc_core.h"
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
|
|||||||
+1
-2
@@ -30,8 +30,7 @@
|
|||||||
#define __DFU_MAL_H
|
#define __DFU_MAL_H
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_conf.h"
|
|
||||||
#include "usbd_conf.h"
|
#include "usbd_conf.h"
|
||||||
#include "usbd_dfu_core.h"
|
#include "usbd_dfu_core.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
#define __MEM_IF_MAL_H
|
#define __MEM_IF_MAL_H
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
#include "usbd_dfu_mal.h"
|
#include "usbd_dfu_mal.h"
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@
|
|||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "usbd_dfu_core.h"
|
#include "usbd_dfu_core.h"
|
||||||
|
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_desc.h"
|
#include "usbd_desc.h"
|
||||||
#include "usbd_req.h"
|
#include "usbd_req.h"
|
||||||
#include "usb_bsp.h"
|
#include "usb_bsp.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@
|
|||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "usbd_hid_core.h"
|
#include "usbd_hid_core.h"
|
||||||
|
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_desc.h"
|
#include "usbd_desc.h"
|
||||||
#include "usbd_req.h"
|
#include "usbd_req.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
#define _USBD_MSC_DATA_H_
|
#define _USBD_MSC_DATA_H_
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../../../targets/Flamenco/usbd_conf.h"
|
#include "usbd_conf.h"
|
||||||
|
|
||||||
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
#define __USBD_CONF__H__
|
#define __USBD_CONF__H__
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
|
|
||||||
/** @defgroup USB_CONF_Exported_Defines
|
/** @defgroup USB_CONF_Exported_Defines
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
#define __USB_CONF__H__
|
#define __USB_CONF__H__
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
|
|
||||||
/** @addtogroup USB_OTG_DRIVER
|
/** @addtogroup USB_OTG_DRIVER
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
Vendored
+1
-1
@@ -29,7 +29,7 @@
|
|||||||
#include "usb_core.h"
|
#include "usb_core.h"
|
||||||
#include "usb_hcd.h"
|
#include "usb_hcd.h"
|
||||||
|
|
||||||
#include "../../../../../targets/Flamenco/usb_conf.h"
|
#include "usb_conf.h"
|
||||||
#include "usb_bsp.h"
|
#include "usb_bsp.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user