mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Cosmetic changes (#19920)
This commit is contained in:
parent
dcbb22a256
commit
46df036b51
@ -648,10 +648,10 @@ String DNSGetIPStr(uint32_t idx)
|
|||||||
void WifiDumpAddressesIPv6(void)
|
void WifiDumpAddressesIPv6(void)
|
||||||
{
|
{
|
||||||
for (netif* intf = netif_list; intf != nullptr; intf = intf->next) {
|
for (netif* intf = netif_list; intf != nullptr; intf = intf->next) {
|
||||||
if (!ip_addr_isany_val(intf->ip_addr)) AddLog(LOG_LEVEL_DEBUG, "WIF: '%c%c' IPv4 %s", intf->name[0], intf->name[1], IPAddress(intf->ip_addr).toString().c_str());
|
if (!ip_addr_isany_val(intf->ip_addr)) AddLog(LOG_LEVEL_DEBUG, "WIF: '%c%c%i' IPv4 %s", intf->name[0], intf->name[1], intf->num, IPAddress(intf->ip_addr).toString().c_str());
|
||||||
for (uint32_t i = 0; i < LWIP_IPV6_NUM_ADDRESSES; i++) {
|
for (uint32_t i = 0; i < LWIP_IPV6_NUM_ADDRESSES; i++) {
|
||||||
if (!ip_addr_isany_val(intf->ip6_addr[i]))
|
if (!ip_addr_isany_val(intf->ip6_addr[i]))
|
||||||
AddLog(LOG_LEVEL_DEBUG, "IP : '%c%c' IPv6 %s %s", intf->name[0], intf->name[1],
|
AddLog(LOG_LEVEL_DEBUG, "IP : '%c%c%i' IPv6 %s %s", intf->name[0], intf->name[1], intf->num,
|
||||||
IPAddress(intf->ip6_addr[i]).toString().c_str(),
|
IPAddress(intf->ip6_addr[i]).toString().c_str(),
|
||||||
ip_addr_islinklocal(&intf->ip6_addr[i]) ? "local" : "");
|
ip_addr_islinklocal(&intf->ip6_addr[i]) ? "local" : "");
|
||||||
}
|
}
|
||||||
|
@ -2851,7 +2851,7 @@ void HandleUploadLoop(void) {
|
|||||||
char tmp[16];
|
char tmp[16];
|
||||||
WebGetArg("fsz", tmp, sizeof(tmp)); // filesize
|
WebGetArg("fsz", tmp, sizeof(tmp)); // filesize
|
||||||
uint32_t upload_size = (!strlen(tmp)) ? 0 : atoi(tmp);
|
uint32_t upload_size = (!strlen(tmp)) ? 0 : atoi(tmp);
|
||||||
AddLog(LOG_LEVEL_DEBUG, D_LOG_UPLOAD "freespace=%i filesize=%i", ESP.getFreeSketchSpace(), upload_size);
|
AddLog(LOG_LEVEL_DEBUG, D_LOG_UPLOAD "Freespace %i Filesize %i", ESP.getFreeSketchSpace(), upload_size);
|
||||||
if (upload_size > ESP.getFreeSketchSpace()) { // TODO revisit this test
|
if (upload_size > ESP.getFreeSketchSpace()) { // TODO revisit this test
|
||||||
#endif
|
#endif
|
||||||
Web.upload_error = 4; // Program flash size is larger than real flash size
|
Web.upload_error = 4; // Program flash size is larger than real flash size
|
||||||
|
@ -367,7 +367,7 @@ void BerryInit(void) {
|
|||||||
be_pop(berry.vm, 1);
|
be_pop(berry.vm, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_BERRY "Berry initialized, RAM used=%u bytes"), callBerryGC());
|
AddLog(LOG_LEVEL_INFO, PSTR(D_LOG_BERRY "Berry initialized, RAM used %u bytes"), callBerryGC());
|
||||||
berry_init_ok = true;
|
berry_init_ok = true;
|
||||||
|
|
||||||
// we generate a synthetic event `autoexec`
|
// we generate a synthetic event `autoexec`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user