Passing the right filename

This commit is contained in:
Robert van den Breemen 2022-06-07 19:34:58 +02:00
parent 5362b59c89
commit 138387cad1
2 changed files with 10 additions and 10 deletions

View File

@ -2074,7 +2074,7 @@ void upgradepic() {
}
if (action == "upgrade") {
DebugTf("Upgrade /%s/%s\r\n", sPICdeviceid.c_str(), filename.c_str());
upgradepicnow(String("/" + sPICdeviceid + "/" + filename).c_str());
upgradepicnow(String(filename).c_str());
} else if (action == "refresh") {
DebugTf("Refresh %s/%s\r\n", sPICdeviceid.c_str(), filename.c_str());
refreshpic(filename, version);

View File

@ -2,15 +2,15 @@
#define _VERSION_MAJOR 0
#define _VERSION_MINOR 9
#define _VERSION_PATCH 5
#define _VERSION_BUILD 1736
#define _VERSION_GITHASH "aee7811"
#define _VERSION_BUILD 1737
#define _VERSION_GITHASH "5362b59"
//#define _VERSION_PRERELEASE beta //uncomment to define prerelease labels: alpha - beta - rc
#define _VERSION_DATE "06-06-2022"
#define _VERSION_TIME "23:30:02"
#define _VERSION_DATE "07-06-2022"
#define _VERSION_TIME "19:33:03"
#define _SEMVER_CORE "0.9.5"
#define _SEMVER_BUILD "0.9.5+1736"
#define _SEMVER_GITHASH "0.9.5+aee7811"
#define _SEMVER_FULL "0.9.5+aee7811"
#define _SEMVER_NOBUILD "0.9.5 (06-06-2022)"
#define _VERSION "0.9.5+aee7811 (06-06-2022)"
#define _SEMVER_BUILD "0.9.5+1737"
#define _SEMVER_GITHASH "0.9.5+5362b59"
#define _SEMVER_FULL "0.9.5+5362b59"
#define _SEMVER_NOBUILD "0.9.5 (07-06-2022)"
#define _VERSION "0.9.5+5362b59 (07-06-2022)"
//The version information is created automatically, more information here: https://github.com/rvdbreemen/autoinc-semver