call srand() on build html
This commit is contained in:
@@ -121,7 +121,7 @@ void NukiWrapper::update()
|
||||
{
|
||||
if (!_paired)
|
||||
{
|
||||
Log->println(F("Nuki start pairing"));
|
||||
Log->println(F("Nuki lock start pairing"));
|
||||
_network->publishBleAddress("");
|
||||
|
||||
Nuki::AuthorizationIdType idType = _preferences->getBool(preference_register_as_app) ?
|
||||
|
||||
@@ -1000,6 +1000,8 @@ void WebCfgServer::buildHtmlHeader(String &response)
|
||||
// response.concat("</style>");
|
||||
response.concat("<link rel='stylesheet' href='/style.css'>");
|
||||
response.concat("<TITLE>NUKI Hub</TITLE></HEAD><BODY>");
|
||||
|
||||
srand(millis());
|
||||
}
|
||||
|
||||
void WebCfgServer::printInputField(String& response,
|
||||
|
||||
Reference in New Issue
Block a user