From 46ff43d4e1c3f1dc777c7fb479757a583d76f74b Mon Sep 17 00:00:00 2001 From: dido Date: Thu, 16 Oct 2025 08:17:32 +0200 Subject: [PATCH 1/2] fix: consolidate preprocessor directives for I2C priority function --- src/Modulino.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Modulino.cpp b/src/Modulino.cpp index b0b1997..da02449 100644 --- a/src/Modulino.cpp +++ b/src/Modulino.cpp @@ -13,8 +13,7 @@ ModulinoColor GREEN(0, 255, 0); ModulinoColor VIOLET(255, 0, 255); ModulinoColor WHITE(255, 255, 255); -#if __has_include("Arduino_LED_Matrix.h") -#if defined(ARDUINO_UNOR4_WIFI) +#if __has_include("Arduino_LED_Matrix.h") && defined(ARDUINO_UNOR4_WIFI) void __increaseI2CPriority() { for (int i = 0; i < 96; i++) { if (R_ICU->IELSR[i] == BSP_PRV_IELS_ENUM(EVENT_IIC0_TXI)) { @@ -25,7 +24,6 @@ void __increaseI2CPriority() { } } } -#endif #else void __increaseI2CPriority() {} #endif \ No newline at end of file From ed1aeca0284dce40a48368792d7bcdca4a388953 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Wed, 29 Oct 2025 09:21:01 +0100 Subject: [PATCH 2/2] Release 0.6.1 --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 3e62fec..c29604b 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Arduino_Modulino -version=0.6.0 +version=0.6.1 author=Arduino maintainer=Arduino sentence=Arduino Library for Modulinos