Browse Source

configuration changed for max TX and RX packet size

namrota ghosh 7 months ago
parent
commit
53b0122b13
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/config.h

+ 3 - 2
src/config.h

@@ -2,8 +2,8 @@
 
 #ifndef CONFIG_H_
 #define CONFIG_H_
-#define I2C_TX_MAX_PACKET_SIZE  (8)
-#define I2C_RX_MAX_PACKET_SIZE  (8)
+#define I2C_TX_MAX_PACKET_SIZE  (10)
+#define I2C_RX_MAX_PACKET_SIZE  (10)
 #define NUM_SLOTS (4)
 #define BATTERY_THRESHOLD (50)
 #define TEMPERATURE_MAX_C (60)
@@ -24,6 +24,7 @@ typedef struct{
 
 }rxPacket;
 
+// Global variables declared in i2c_hal.c
 extern txPacket tx_packet;
 extern rxPacket rx_packet;
 #endif