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
Pressing the button more than 4 times causes the inputStream array to overflow and write into external data which overwrites the menu data currently, the more times you click it the more menu data gets overridden
Problematic Code: (ProtoTracer/ExternalDevices/InputDevices/SingleButtonMorseHandler.tpp, line 121)
if (!pinState) { // In Update()
inputStream[inputCount] = timeOn;
inputCount += 1; // Can go above 4
}
Proposed Fix:
if (!pinState && inputCount < 4) { // In Update()
inputStream[inputCount] = timeOn;
inputCount += 1; // Can go above 4
}
The text was updated successfully, but these errors were encountered:
Pressing the button more than 4 times causes the inputStream array to overflow and write into external data which overwrites the menu data currently, the more times you click it the more menu data gets overridden
Problematic Code: (ProtoTracer/ExternalDevices/InputDevices/SingleButtonMorseHandler.tpp, line 121)
Proposed Fix:
The text was updated successfully, but these errors were encountered: