Skip to content

Commit

Permalink
Fix bug in protocol and version for url
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Nov 25, 2024
1 parent f3ddb6d commit 7e0fe2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/conf.d/pn532_rfid-solo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ button:
url += "&min_temp=" + std::to_string(static_cast<int>(id(filament_min_temp).state));
url += "&max_temp=" + std::to_string(static_cast<int>(id(filament_max_temp).state));
url += "&brand=" + std::string(id(filament_brand).state);
url += "protocol" + std::string("openspool");
url += "version" + std::string("1.0");
url += "&protocol" + std::string("openspool");
url += "&version" + std::string("1.0");
ESP_LOGI("rfid", "NDEF Record URL: %s", url.c_str());
message->add_uri_record(url);
Expand Down

0 comments on commit 7e0fe2e

Please sign in to comment.