components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and definiton matches or not, which would catch issues like 3c47701.
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "../util.h"
|
||||
#include "../slstatus.h"
|
||||
|
||||
#define RSSI_TO_PERC(rssi) \
|
||||
rssi >= -50 ? 100 : \
|
||||
|
Reference in New Issue
Block a user