Update main.h increased sensor size to 20

pull/302/head
Alan Johnston 2 years ago committed by GitHub
parent 40aa67cd80
commit 3017cd83d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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; int i2c_bus0 = OFF, i2c_bus1 = OFF, i2c_bus3 = OFF, camera = OFF, sim_mode = FALSE, SafeMode = FALSE, rxAntennaDeployed = 0, txAntennaDeployed = 0;
double eclipse_time; double eclipse_time;
float voltage[9], current[9], sensor[17], other[3]; float voltage[9], current[9], sensor[20], other[3];
char sensor_payload[500]; char sensor_payload[500];
int test_i2c_bus(int bus); 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}; int map[8] = {0, 1, 2, 3, 4, 5, 6, 7};
char src_addr[5] = ""; char src_addr[5] = "";
char dest_addr[5] = "APCSS"; char dest_addr[5] = "APCSS";
float voltage_min[9], current_min[9], voltage_max[9], current_max[9], sensor_max[17], sensor_min[17], other_max[3], other_min[3]; 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];
int get_payload_serial(int debug_camera); int get_payload_serial(int debug_camera);
int finished = FALSE; int finished = FALSE;

Loading…
Cancel
Save

Powered by TurnKey Linux.