Commit 7013871f authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Changes

parent 47a9549a
......@@ -277,7 +277,7 @@ int main(void)
//ff=mpy((ADC6+0.0),0.005);
Debug0++; // Cycle
// if (OCnorm != OCnorm_previous || ADC2 != ADC2_previous) {
if (OCnorm != OCnorm_previous || ADC2 != ADC2_previous) {
Debug1++; // Change
OCnorm_previous = OCnorm;
ADC2_previous = ADC2;
......@@ -287,8 +287,7 @@ int main(void)
}
p2udt[HEAD_index].OCnorm = OCnorm;
//p2udt[HEAD_index].OVnorm = ADC2;
p2udt[HEAD_index].OVnorm = Debug1;
p2udt[HEAD_index].OVnorm = ADC2;
p2udt[HEAD_index].num5ns = PRU1_CTRL.CYCLE;
HEAD_index++;
......@@ -302,7 +301,7 @@ int main(void)
Debug3++; // Notifications failed
}
}
// }
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment