We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30672ae commit 4cc32a1Copy full SHA for 4cc32a1
src/PF1550.h
@@ -68,8 +68,10 @@ class PF1550
68
bool const enable,
69
bool const enable_in_standby,
70
bool const enable_in_sleep)
71
-#if defined(ARDUINO_PORTENTA_H33) || defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
+#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4) || defined(ARDUINO_NICLA_VISION)
72
__attribute__ ((error("Erroneous usage of this API can cause board damage.")))
73
+#elif defined(ARDUINO_PORTENTA_H33)
74
+ __attribute__ ((warning("Using this API you can turn off ESP32 (WiFi), SE051 (Crypto) and Ethernet PHY. Proceed with caution.")))
75
#endif
76
;
77
0 commit comments