You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created enums netProtoTranslation_t and netProtoOpenMode_t (#1060)
Removed a ton more hardcoded values, set types to fujiCommandID_t,
netProtoTranslation_t, and netProtoOpenMode_t to help compiler catch
things.
No logic changes, just more cleanup in preparation for unified and fujiversal.
Copy file name to clipboardExpand all lines: lib/device/iec/network.cpp
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ void iecNetwork::iec_open()
71
71
72
72
// Check if the payload is RAW (i.e. from fujinet-lib) by the presence of "01" as the first uint8_t, which can't happen for BASIC.
73
73
// If it is, then the next 2 bytes are the aux1/aux2 values (mode and trans), and the rest is the actual URL.
74
-
// This is an efficiency so we don't have to send a 2nd command to tell it what the parameters should have been.
74
+
// This is an efficiency so we don't have to send a 2nd command to tell it what the parameters should have been.
75
75
// BASIC will still need to use "openparams" command, as the OPEN line doesn't have capacity for the parameters (can't use a "," as that's a valid URL character)
76
76
if (payload[0] == 0x01) {
77
77
channel_aux1 = payload[1];
@@ -80,7 +80,7 @@ void iecNetwork::iec_open()
80
80
// capture the trans mode as though "settrans" had been invoked
0 commit comments