diff options
author | Jakob Odersky <jodersky@gmail.com> | 2012-06-14 17:00:53 +0200 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2012-06-14 17:00:53 +0200 |
commit | 5c506a9f89cf8273b8b790fb77416fc68d96d20b (patch) | |
tree | be407ddb8ff3f561a83885ec52bba25c3277ebbe /src/k8055.h | |
parent | 774eb21b30cddabf002d65bc686cf2450f82c8a0 (diff) | |
download | k8055-5c506a9f89cf8273b8b790fb77416fc68d96d20b.tar.gz k8055-5c506a9f89cf8273b8b790fb77416fc68d96d20b.tar.bz2 k8055-5c506a9f89cf8273b8b790fb77416fc68d96d20b.zip |
use stdbool
Diffstat (limited to 'src/k8055.h')
-rw-r--r-- | src/k8055.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/k8055.h b/src/k8055.h index 9b29a29..d287098 100644 --- a/src/k8055.h +++ b/src/k8055.h @@ -29,6 +29,8 @@ #ifndef K8055_H_ #define K8055_H_ +#include <stdbool.h> + #ifdef __cplusplus extern "C" { #endif @@ -123,7 +125,7 @@ int k8055_set_debounce_time(k8055_device*, int counter, int debounce); * @return 0 on success * @return K8055_ERROR_CLOSED if the given device is not open * @return K8055_ERROR_READ if another error occurred during the read process */ -int k8055_get_all_input(k8055_device*, int *digitalBitmask, int *analog0, int *analog1, int *counter0, int *counter1, int quick); +int k8055_get_all_input(k8055_device*, int *digitalBitmask, int *analog0, int *analog1, int *counter0, int *counter1, bool quick); #ifdef __cplusplus } |