File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,14 +115,14 @@ void setRailVoltage(std::vector<String> args){
115
115
#endif
116
116
117
117
} else if (rail == " H7_external" ){
118
- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4 )
118
+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_GENERIC_STM32H747_M4 )
119
119
board.setExternalVoltage (voltage);
120
120
#else
121
121
Serial.println (" Current board is not an arduino portenta h7" );
122
122
#endif
123
123
124
124
} else if (rail == " nicla_external" ){
125
- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4 )
125
+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_GENERIC_STM32H747_M4 )
126
126
board.setExternalVoltage (voltage);
127
127
#else
128
128
Serial.println (" Current board is not an arduino nicla vision" );
@@ -150,7 +150,7 @@ void toggleRail(std::vector<String> args){
150
150
#endif
151
151
152
152
} else if (rail == " H7_external" ){
153
- #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4 )
153
+ #if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_GENERIC_STM32H747_M4 )
154
154
board.setExternalPowerEnabled (on);
155
155
#else
156
156
Serial.println (" Current board is not an arduino portenta h7" );
You can’t perform that action at this time.
0 commit comments