summaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2024-01-07 22:07:02 +0200
committerJustin Wernick <justin@worthe-it.co.za>2024-01-07 22:07:02 +0200
commitf2cfbc1cb35871f56d654ea54a5e4aa30571b6bc (patch)
treeefe33ef31576e011b1ecdbd21c0e9e71be26d3aa /platforms
parent06930e95128ed3aeb9aa5a585c3ebd338f26bb54 (diff)
Suppress compiler warning
Diffstat (limited to 'platforms')
-rw-r--r--platforms/avr/drivers/i2c_master.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/platforms/avr/drivers/i2c_master.c b/platforms/avr/drivers/i2c_master.c
index 524494c99d..4c342b99b1 100644
--- a/platforms/avr/drivers/i2c_master.c
+++ b/platforms/avr/drivers/i2c_master.c
@@ -17,6 +17,8 @@
* GitHub repository: https://github.com/g4lvanix/I2C-master-lib
*/
+#pragma GCC diagnostic ignored "-Warray-bounds"
+
#include <avr/io.h>
#include <util/twi.h>