We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8b5e1 commit a0f6018Copy full SHA for a0f6018
SerialPrograms/Source/Controllers/KeyboardInput/KeyboardInput.cpp
@@ -132,7 +132,7 @@ void KeyboardInputController::thread_loop(){
132
now = current_time();
133
try{
134
// current.print();
135
- if (current == last && last_press + std::chrono::milliseconds(1000) > now){
+ if (*current == *last && last_press + std::chrono::milliseconds(1000) > now){
136
// cout << "No state change." << endl;
137
break;
138
}
0 commit comments