aboutsummaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2024-12-03 21:52:59 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2024-12-03 21:52:59 +0100
commit7a8c601eec433f7c75d3291d64bb3d41fe50c8ae (patch)
tree1b1038a4dc80cc496a4c608ea760300f8b6d68f1 /include/i2c.h
parent08b7ee440269c881546421da6efe1b6ae122b566 (diff)
Use custom types
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 18fa5e9..a43744a 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -1,7 +1,7 @@
#ifndef I2C_H
#define I2C_H
-#include <stdint.h>
+#include <zeta.h>
#define NACK 0
#define ACK 1
@@ -16,9 +16,9 @@ void
i2c_stop_condition(void);
void
-i2c_send(uint8_t b);
+i2c_send(u8 b);
uint8_t
-i2c_recv(uint8_t ack);
+i2c_recv(u8 ack);
#endif // I2C_H