Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Oct 28, 2023
1 parent 8ef9324 commit 8924abc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@
"future": "cpp",
"variant": "cpp"
},
"cmake.sourceDirectory": "D:/GitHub/rfid-arduino/.pio/libdeps/desktop/ArduinoJson"
"cmake.sourceDirectory": "D:/GitHub/rfid-arduino/.pio/libdeps/desktop/ArduinoJson",
"cmake.configureOnOpen": false
}
4 changes: 2 additions & 2 deletions src/MQTTtypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ namespace ServerMQTT
response->is_valid = doc["is_valid"];
response->needs_maintenance = doc["maintenance"];
response->allowed = doc["allowed"];

if (conf::debug::ENABLE_LOGS)
Serial.printf("Parsed machine response as request_ok %d is_valid %d maintenance %d allowed %d\r\n", response->request_ok, response->is_valid, response->needs_maintenance, response->allowed);
Serial.printf("Parsed machine response as request_ok %d is_valid %d maintenance %d allowed %d name %s\r\n",
response->request_ok, response->is_valid, response->needs_maintenance, response->allowed);

return response;
}
Expand Down

0 comments on commit 8924abc

Please sign in to comment.