diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-08-06 11:20:12 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-20 12:55:28 -0400 |
commit | 73a1c9d249170a2edc842af7f852e60c427f0f6d (patch) | |
tree | d896406bc29e0f3e80b55dd3136c44170bcc15ed /src/linux/internal.h | |
parent | d851882278644b959d9175d6b303631ddc8cd2c6 (diff) | |
download | kutter-73a1c9d249170a2edc842af7f852e60c427f0f6d.tar.gz kutter-73a1c9d249170a2edc842af7f852e60c427f0f6d.tar.xz kutter-73a1c9d249170a2edc842af7f852e60c427f0f6d.zip |
linux: Add support for pca9685 i2c pwm devices
Add support for controlling pca9685 PWM drivers using the standard
Linux I2C interface. The pca9685 device is found on Replicape boards.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/linux/internal.h')
-rw-r--r-- | src/linux/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linux/internal.h b/src/linux/internal.h index 1ade2233..b9e77d18 100644 --- a/src/linux/internal.h +++ b/src/linux/internal.h @@ -5,6 +5,8 @@ #include <time.h> // struct timespec // console.c +void report_errno(char *where, int rc); +int set_non_blocking(int fd); int console_setup(char *name); void console_sleep(struct timespec ts); |