fix some basic type issues:

use size_t for size as async web server uses this type internally
use uint8_t for provision mode, we only have 3 values
address warnings about ordering initializers
This commit is contained in:
Rick Watson
2018-10-23 15:23:46 +01:00
parent b197ee8a80
commit 167cfa283b
4 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@ private:
public:
SettingsService(AsyncWebServer* server, FS* fs, char const* servicePath, char const* filePath):
_server(server), _fs(fs), _filePath(filePath) {
_filePath(filePath), _server(server), _fs(fs){
// configure fetch config handler
_server->on(servicePath, HTTP_GET, std::bind(&SettingsService::fetchConfig, this, std::placeholders::_1));