We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6e1bd4 commit 30672aeCopy full SHA for 30672ae
src/PF1550.h
@@ -67,7 +67,11 @@ class PF1550
67
Sw1CurrentLimit const sw1_current_limit,
68
bool const enable,
69
bool const enable_in_standby,
70
- bool const enable_in_sleep) __attribute__ ((error("Erroneous usage of this API can cause board damage.")));
+ 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)
72
+ __attribute__ ((error("Erroneous usage of this API can cause board damage.")))
73
+#endif
74
+ ;
75
76
void configSw2(Sw2Voltage const sw2_volt,
77
Sw2Voltage const sw2_volt_standby,
0 commit comments