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
I'm trying to find out if this is an issue or not:
`c:...\src\DailyStruggleButton.cpp: In member function 'bool DailyStruggleButton::debounce()':
c:...\src\DailyStruggleButton.cpp:104:33: warning: statement has no effect [-Wunused-value]
104 | if (flags.inverted == false){ !flags.currentRawState; }`
should it read: if (flags.inverted == false){flags.currentRawState = !flags.currentRawState; }
Please advise,
Alf
The text was updated successfully, but these errors were encountered:
I'm trying to find out if this is an issue or not:
`c:...\src\DailyStruggleButton.cpp: In member function 'bool DailyStruggleButton::debounce()':
c:...\src\DailyStruggleButton.cpp:104:33: warning: statement has no effect [-Wunused-value]
104 | if (flags.inverted == false){ !flags.currentRawState; }`
should it read:
if (flags.inverted == false){flags.currentRawState = !flags.currentRawState; }
Please advise,
Alf
The text was updated successfully, but these errors were encountered: