Fixed new set API not returning anything

This commit is contained in:
Mark van Renswoude 2018-01-31 21:08:47 +01:00
parent 1a131c96bf
commit 1bea7ea157
2 changed files with 4 additions and 2 deletions

View File

@ -4,10 +4,10 @@
const uint8_t VersionMajor = 2;
const uint8_t VersionMinor = 0;
const uint8_t VersionPatch = 0;
const uint8_t VersionMetadata = 32;
const uint8_t VersionMetadata = 33;
const char VersionBranch[] = "release/2.0";
const char VersionSemVer[] = "2.0.0-beta.1";
const char VersionFullSemVer[] = "2.0.0-beta.1+32";
const char VersionFullSemVer[] = "2.0.0-beta.1+33";
const char VersionCommitDate[] = "2018-01-31";
#endif

View File

@ -63,6 +63,8 @@ void handleSet(AsyncWebServerRequest *request)
stairs->setAll(value, time, 0);
else
stairs->sweep(value, time, from == 1);
request->send(200);
}