fixed tabs xD
This commit is contained in:
parent
4c67ce861b
commit
526955ecda
@ -300,8 +300,7 @@ wifi_signal()
|
|||||||
fgets(buf, bufsize, fp);
|
fgets(buf, bufsize, fp);
|
||||||
if ((datastart = strstr(buf, "wlp3s0:")) != NULL) {
|
if ((datastart = strstr(buf, "wlp3s0:")) != NULL) {
|
||||||
datastart = strstr(buf, ":");
|
datastart = strstr(buf, ":");
|
||||||
sscanf(datastart + 1, " %*d %d %*d %*d %*d %*d %*d %*d %*d %*d",
|
sscanf(datastart + 1, " %*d %d %*d %*d %*d %*d %*d %*d %*d %*d", &strength);
|
||||||
&strength);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* close wifi file */
|
/* close wifi file */
|
||||||
|
Loading…
Reference in New Issue
Block a user