check that paths exist before using them
This commit is contained in:
parent
1456db633d
commit
0a88ca1b8c
3 changed files with 33 additions and 4 deletions
|
|
@ -12,6 +12,11 @@ void parse_config_file(char *path);
|
|||
*/
|
||||
void setup_led_formula(void);
|
||||
|
||||
/**
|
||||
* @brief ensure that the config paths are valid
|
||||
*/
|
||||
void check_config();
|
||||
|
||||
extern char *battery_status_path;
|
||||
extern char *battery_power_source;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue