diff options
Diffstat (limited to 'src/jo_main.c')
-rw-r--r-- | src/jo_main.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/jo_main.c b/src/jo_main.c deleted file mode 100644 index a6d05b1..0000000 --- a/src/jo_main.c +++ /dev/null @@ -1,37 +0,0 @@ -/****************************************************************************************/ -/* */ -/* File : jo_main.c /_________/ */ -/* Author : Joe | */ -/* Date : 04/2020 | */ -/* Info : The main | */ -/* / | */ -/* \ / */ -/* \_____/ */ -/* */ -/****************************************************************************************/ - -#include <jo_main.h> - -/* -** Files prefixes -** -------------- -** f: fetch -** n: notify -*/ - -int -main(void) -{ - int8_t status; - int8_t percent; - - if ((status = jo_f_status()) == -2) { - return (JO_RET_RD_FAILED); - } - if ((percent = jo_f_percent()) == -3) { - return (JO_RET_RD_FAILED); - } - printf("status: %hhd, %hhd%%\n", status, percent); - /* ESPEAK */ - return (JO_RET_FINE); -} |