|
|
|
@ -1326,7 +1326,7 @@ else {
|
|
|
|
// printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]);
|
|
|
|
// printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (mode == FSK) {
|
|
|
|
// if (mode == FSK) {
|
|
|
|
for (int count1 = 0; count1 < 8; count1++) {
|
|
|
|
for (int count1 = 0; count1 < 8; count1++) {
|
|
|
|
if (voltage[count1] < voltage_min[count1])
|
|
|
|
if (voltage[count1] < voltage_min[count1])
|
|
|
|
voltage_min[count1] = voltage[count1];
|
|
|
|
voltage_min[count1] = voltage[count1];
|
|
|
|
@ -1354,7 +1354,7 @@ else {
|
|
|
|
// printf("Other min %f max %f \n", other_min[count1], other_max[count1]);
|
|
|
|
// printf("Other min %f max %f \n", other_min[count1], other_max[count1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// if (mode == FSK) {
|
|
|
|
if (mode == FSK) {
|
|
|
|
if (loop % 8 == 0) {
|
|
|
|
if (loop % 8 == 0) {
|
|
|
|
printf("Sending MIN frame \n");
|
|
|
|
printf("Sending MIN frame \n");
|
|
|
|
frm_type = 0x03;
|
|
|
|
frm_type = 0x03;
|
|
|
|
|