From 45464300c7ed88c094206e40394c749264567552 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Wed, 1 Oct 2025 01:39:27 +0200 Subject: [PATCH] Correct bitmask for TWI SDA and SCL --- firmware/atmega/include/config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/atmega/include/config.h b/firmware/atmega/include/config.h index 5d399de..b446b50 100644 --- a/firmware/atmega/include/config.h +++ b/firmware/atmega/include/config.h @@ -3,6 +3,7 @@ #include #include +#include #include "eeprom.h" #define MOISTURE_SENSOR_A0 PC0 @@ -42,8 +43,8 @@ inline void init() { }; uint16_t values[DICT_SIZE] = { - 2, - 3, + (1 << PD2), + (1 << PD3), 0x20, 5, 0,