Skip to content

Commit

Permalink
Merge pull request #79 from spacecheese/release_candidate
Browse files Browse the repository at this point in the history
Don't include pgmspace header on linux targets
  • Loading branch information
PaulZC committed Jul 15, 2021
2 parents b003d40 + 787f5dc commit b944489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/ICM_20948_C.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#if defined(ARDUINO_ARCH_MBED) // ARDUINO_ARCH_MBED (APOLLO3 v2) does not support or require pgmspace.h / PROGMEM
const uint8_t dmp3_image[] = {
#elif defined(__AVR__) || defined(__arm__) || defined(__ARDUINO_ARC__) // Store the DMP firmware in PROGMEM on older AVR (ATmega) platforms
#elif (defined(__AVR__) || defined(__arm__) || defined(__ARDUINO_ARC__)) && !defined(__linux__) // Store the DMP firmware in PROGMEM on older AVR (ATmega) platforms
#define ICM_20948_USE_PROGMEM_FOR_DMP
#include <avr/pgmspace.h>
const uint8_t dmp3_image[] PROGMEM = {
Expand Down

0 comments on commit b944489

Please sign in to comment.