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>
|
||||
#if defined(__AVR__)
|
||||
#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
|
||||
#error "this build type is unknown - please edit AP_Progmem.h"
|
||||
#include "AP_Progmem_Identity.h"
|
||||
#endif
|
||||
|
||||
#define PROGMEM_STRING(_v, _s) static const char _v[] PROGMEM = _s
|
||||
|
Loading…
Reference in New Issue
Block a user