Reformatovani textu po zasahu VSC :-(

This commit is contained in:
Pavel Brychta 2018-11-20 16:53:18 +01:00
parent 81ceb9aca9
commit dc8aa8890d

View File

@ -117,9 +117,9 @@ static int configBase; // musi byt trvale ulozene, aby fungovaly metody pro zisk
static std::unique_ptr<DNSServer> dnsServer;
#if defined(ESP8266)
static std::unique_ptr<ESP8266WebServer> server;
static std::unique_ptr<ESP8266WebServer> server;
#else
static std::unique_ptr<WebServer> server;
static std::unique_ptr<WebServer> server;
#endif
static std::unique_ptr<Ticker> rsttick;
@ -142,7 +142,7 @@ IPAddress getOurIP(void)
break;
default:
ipa = IPAddress(0,0,0,0); // nelze urcit ip adresu (bud je AP + STA aktivni, nebo je vypnute WiFi)
ipa = IPAddress(0, 0, 0, 0); // nelze urcit ip adresu (bud je AP + STA aktivni, nebo je vypnute WiFi)
break;
}
return ipa;
@ -161,7 +161,7 @@ uint32_t getEEPROMuint32(unsigned int start)
{
uint32_t result = 0;
for (uint32_t i=0; i<4; ++i)
for (uint32_t i = 0; i < 4; ++i)
{
result <<= 8;
result += EEPROM.read(start);
@ -173,7 +173,7 @@ uint32_t getEEPROMuint32(unsigned int start)
void setEEPROMuint32(unsigned int start, uint32_t val)
{
for (unsigned int i=0; i<4; ++i)
for (unsigned int i = 0; i < 4; ++i)
{
EEPROM.write(start + 3 - i, (uint8_t)val);
val >>= 8;