Use 3 characters for WLAN signal strength
This commit is contained in:
parent
b052bfa79b
commit
d9ff643b10
@ -297,7 +297,7 @@ static char *get_wireless_info() {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
const char *ip_address;
|
const char *ip_address;
|
||||||
(void)snprintf(part, sizeof(part), "W: (%02d%%) ", quality);
|
(void)snprintf(part, sizeof(part), "W: (%03d%%) ", quality);
|
||||||
ip_address = get_ip_address(wlan_interface);
|
ip_address = get_ip_address(wlan_interface);
|
||||||
strcpy(part+strlen(part), ip_address);
|
strcpy(part+strlen(part), ip_address);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user