mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
AP_Progmem: only AVR uses progmem
no need to list all other boards
This commit is contained in:
parent
c3d0b315cf
commit
6b95d870ad
@ -5,10 +5,8 @@
|
|||||||
#include <AP_HAL_Boards.h>
|
#include <AP_HAL_Boards.h>
|
||||||
#if defined(__AVR__)
|
#if defined(__AVR__)
|
||||||
#include "AP_Progmem_AVR.h"
|
#include "AP_Progmem_AVR.h"
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL || CONFIG_HAL_BOARD == HAL_BOARD_RPI
|
|
||||||
#include "AP_Progmem_Identity.h"
|
|
||||||
#else
|
#else
|
||||||
#error "this build type is unknown - please edit AP_Progmem.h"
|
#include "AP_Progmem_Identity.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
|
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
|
||||||
|
Loading…
Reference in New Issue
Block a user