summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-07-12 13:55:19 -0600
committerGitHub <noreply@github.com>2022-07-12 21:55:19 +0200
commitffb34fc0825e4a715842e93dbfdbe843759fec05 (patch)
treeaaedb88740ba067154641dcec3c79f4311ab1885
parent45ffe42f1a26d14e372ff8e0a35441fd968e1494 (diff)
Include stdint.h in avr/i2c_master.h (#17639)
-rw-r--r--platforms/avr/drivers/i2c_master.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platforms/avr/drivers/i2c_master.h b/platforms/avr/drivers/i2c_master.h
index 2d95846db5..04ef126c80 100644
--- a/platforms/avr/drivers/i2c_master.h
+++ b/platforms/avr/drivers/i2c_master.h
@@ -19,6 +19,8 @@
#pragma once
+#include <stdint.h>
+
#define I2C_READ 0x01
#define I2C_WRITE 0x00