From e465aff8d294cf0f832b3328153c03ca117669f1 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Wed, 8 Jun 2022 21:41:39 -0600 Subject: [PATCH] fixed BLE detection --- library.properties | 2 +- src/hardware_detect.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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