diff --git a/library.properties b/library.properties index 1fa31c8..da1f5b4 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=bluemicro_hid -version=0.0.6 +version=0.0.7 author=Pierre Constantineau maintainer=Pierre Constantineau sentence=Creates a unified facade to both TinyUSB and nRF52 BlueFruit HID interfaces. diff --git a/src/hardware_detect.h b/src/hardware_detect.h index 5931d03..f7e204d 100644 --- a/src/hardware_detect.h +++ b/src/hardware_detect.h @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: BSD-3-Clause - #ifdef NRF52 // includes both NRF52832_XXAA and NRF52840_XXAA + #ifdef ARDUINO_ARCH_NRF52 // includes both NRF52832_XXAA and NRF52840_XXAA #define HARDWARE_DETECT_BLE_AVAILABLE #define HARDWARE_DETECTED #endif