don't compile on Portduino

This commit is contained in:
Thomas Göttgens
2022-10-13 13:01:24 +02:00
parent a7fe69ed6b
commit b5fb0f60b0
3 changed files with 10 additions and 0 deletions

View File

@@ -6,7 +6,9 @@
#include "PowerStatus.h"
#include "graphics/Screen.h"
#include "mesh/generated/telemetry.pb.h"
#ifndef ARCH_PORTDUINO
#include <SparkFun_ATECCX08a_Arduino_Library.h>
#endif
extern uint8_t screen_found;
extern uint8_t screen_model;
@@ -20,7 +22,9 @@ extern bool pmu_found;
extern bool isCharging;
extern bool isUSBPowered;
#ifndef ARCH_PORTDUINO
extern ATECCX08A atecc;
#endif
extern uint8_t nodeTelemetrySensorsMap[TelemetrySensorType_QMI8658+1];