aboutsummaryrefslogtreecommitdiffstats
path: root/src/jo_lowbat.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-16 19:18:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-16 19:18:20 +0200
commit754010fba962a7fe859e7f2efb977ec4eff04920 (patch)
treec0fbd9dd5513d43f0bf0ba84bd91a3117409078f /src/jo_lowbat.h
parentRead function is good (diff)
downloadlowbat-bsd-754010fba962a7fe859e7f2efb977ec4eff04920.tar.gz
lowbat-bsd-754010fba962a7fe859e7f2efb977ec4eff04920.tar.bz2
lowbat-bsd-754010fba962a7fe859e7f2efb977ec4eff04920.tar.xz
lowbat-bsd-754010fba962a7fe859e7f2efb977ec4eff04920.tar.zst
lowbat-bsd-754010fba962a7fe859e7f2efb977ec4eff04920.zip
Better read function
Diffstat (limited to '')
-rw-r--r--src/jo_lowbat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jo_lowbat.h b/src/jo_lowbat.h
index ddc6679..b39243e 100644
--- a/src/jo_lowbat.h
+++ b/src/jo_lowbat.h
@@ -13,11 +13,14 @@
#ifndef JO_LOWBAT_H
#define JO_LOWBAT_H
+#include <inttypes.h>
+
enum
{
JO_RET_FINE,
JO_RET_RD_FAILED
};
-char *jo_f_status(void);
+
+int8_t jo_f_status(void);
#endif