diff --git a/src/main.cpp b/src/main.cpp index 66cd80417..4f72be7da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,7 +87,7 @@ uint8_t rtc_found; // Keystore Chips uint8_t keystore_found; -#ifndef ARCH_PORTDUINO +#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) ATECCX08A atecc; #endif diff --git a/src/xmodem.h b/src/xmodem.h index 776f800bb..7745b6012 100644 --- a/src/xmodem.h +++ b/src/xmodem.h @@ -58,7 +58,7 @@ class XModemAdapter uint16_t packetno = 0; -#ifdef ARCH_NRF52 +#if defined(ARCH_NRF52) File file = File(FSCom); #else File file; diff --git a/variants/rak4631/variant.h b/variants/rak4631/variant.h index a37e1e7de..1845a5783 100644 --- a/variants/rak4631/variant.h +++ b/variants/rak4631/variant.h @@ -136,7 +136,7 @@ static const uint8_t SCK = PIN_SPI_SCK; // Controls power for the eink display - Board power is enabled either by VBUS from USB or the CPU asserting PWR_ON // FIXME - I think this is actually just the board power enable - it enables power to the CPU also -//#define PIN_EINK_PWR_ON (-1) +// #define PIN_EINK_PWR_ON (-1) // #define USE_EINK