diff --git a/main.h b/main.h index b56faaee..97a865cc 100644 --- a/main.h +++ b/main.h @@ -148,7 +148,7 @@ float axis[3], angle[3], volts_max[3], amps_max[3], batt, speed, period, tempS, int i2c_bus0 = OFF, i2c_bus1 = OFF, i2c_bus3 = OFF, camera = OFF, sim_mode = FALSE, SafeMode = FALSE, rxAntennaDeployed = 0, txAntennaDeployed = 0; double eclipse_time; -float voltage[9], current[9], sensor[20], other[3]; +float voltage[9], current[9], sensor[22], other[3]; char sensor_payload[500]; int test_i2c_bus(int bus); @@ -159,7 +159,7 @@ char pythonStr[100], pythonConfigStr[100], busStr[10]; int map[8] = {0, 1, 2, 3, 4, 5, 6, 7}; char src_addr[5] = ""; char dest_addr[5] = "APCSS"; -float voltage_min[9], current_min[9], voltage_max[9], current_max[9], sensor_max[20], sensor_min[20], other_max[3], other_min[3]; +float voltage_min[9], current_min[9], voltage_max[9], current_max[9], sensor_max[22], sensor_min[22], other_max[3], other_min[3]; int get_payload_serial(int debug_camera); int finished = FALSE;