diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 16:32:09 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 16:32:09 +0200 |
commit | 4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50 (patch) | |
tree | c7c5a4ba58b7463659f6660fa56b76fc72fd57a6 /src/jo_main.c | |
parent | espeak tests (diff) | |
download | lowbat-bsd-4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50.tar.gz lowbat-bsd-4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50.tar.bz2 lowbat-bsd-4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50.tar.xz lowbat-bsd-4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50.tar.zst lowbat-bsd-4a41fd428bfd4ed95446e6f24bbd6ec60d87bf50.zip |
Using libespeak and libnotify
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); -} |