Skip to content
Snippets Groups Projects
Commit f9f3e216 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Fixed typo. Was checking if preconditioning voltages were above zero instead of times.

parent 36805a2d
Branches
Tags
No related merge requests found
......@@ -248,7 +248,7 @@ void precond(int16_t v1, uint16_t t1, int16_t v2, uint16_t t2){ //assumes potent
up = 1;
//first potential
if (v1 > 0){
if (t1 > 0){
max5443_set_voltage1(v1);
rtc_set_alarm(t1);
RTC.CNT = 0;
......@@ -271,7 +271,7 @@ void precond(int16_t v1, uint16_t t1, int16_t v2, uint16_t t2){ //assumes potent
up = 1;
time_old = 0;
if (v2 > 0){
if (t2 > 0){
max5443_set_voltage1(v2);
rtc_set_alarm(t2);
RTC.CNT = 0;
......
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