Skip to content

Commit

Permalink
fix trying to load empty values from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
edumeneses committed Dec 12, 2024
1 parent 27dc359 commit 5bf5149
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions basic/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ void setup() {
*/
std::cout << "\n"
<< "Settings stored in data/settings.json:\n"
<< "Hitchhiker: " << puara.getVarText ("Hitchhiker") << "\n"
<< "answer_to_everything: " << puara.getVarNumber("answer_to_everything") << "\n"
<< "variable3: " << puara.getVarNumber("variable3") << "\n"
// << "Hitchhiker: " << puara.getVarText ("Hitchhiker") << "\n"
// << "answer_to_everything: " << puara.getVarNumber("answer_to_everything") << "\n"
// << "variable3: " << puara.getVarNumber("variable3") << "\n"
<< std::endl;
}

Expand Down

0 comments on commit 5bf5149

Please sign in to comment.