File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -1212,9 +1212,17 @@ void networkStart(NetIndex_t index, bool debug)
1212
1212
{
1213
1213
// Get the network bit
1214
1214
bitMask = (1 << index);
1215
+
1216
+ // If a network has a start sequence, and it is not started, start it
1215
1217
if (networkInterfaceTable[index].start && (!(networkStarted & bitMask)))
1216
- systemPrintf (" Starting %s\r\n " , networkGetNameByIndex (index));
1217
- networkSequenceStart (index, debug);
1218
+ {
1219
+ if (debug)
1220
+ systemPrintf (" Starting network: %s\r\n " , networkGetNameByIndex (index));
1221
+ networkSequenceStart (index, debug);
1222
+ }
1223
+ }
1224
+ }
1225
+
1218
1226
// ----------------------------------------
1219
1227
// Stop a network interface
1220
1228
// ----------------------------------------
You can’t perform that action at this time.
0 commit comments