From f54fe1d4bfdec539ec9143d1ec9040bb737e850a Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Sat, 4 May 2024 11:15:57 -0500 Subject: Minor clean up. --- mcc_generated_files/mssp2_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcc_generated_files') diff --git a/mcc_generated_files/mssp2_i2c.c b/mcc_generated_files/mssp2_i2c.c index 580366b..6a7e51e 100644 --- a/mcc_generated_files/mssp2_i2c.c +++ b/mcc_generated_files/mssp2_i2c.c @@ -128,7 +128,7 @@ uint8_t yeah; #define ARRAY_CNT 6 // Number of bytes in array uint8_t slaveAddress = 0x30; // 7-bit slave address uint8_t index = 0; // Array pointer -static uint8_t I2C_timeout = 0; //Number of timer iterations since clear +static uint8_t I2C_timeout = 10; //Number of timer iterations since clear uint8_t temp = 0; // Temp register uint8_t regAdd = 1; // First data byte was reg add uint8_t i2cArray[ARRAY_CNT] = -- cgit v1.2.3