Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Nov 16, 2022
1 parent 9477dbb commit 12510a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/modules/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void Core::call(const std::string method_name, const std::vector<ConstExpression
esp_restart();
} else if (method_name == "version") {
const esp_app_desc_t *app_desc = esp_ota_get_app_description();
echo("version: %s", this->name.c_str(), app_desc->version);
echo("version: %s", app_desc->version);
} else if (method_name == "info") {
Module::expect(arguments, 0);
const esp_app_desc_t *app_desc = esp_ota_get_app_description();
Expand Down

0 comments on commit 12510a8

Please sign in to comment.