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

Refactor: missed a few pot_exp_starts.

parent d5d40e71
Branches
Tags
No related merge requests found
......@@ -262,7 +262,7 @@ void precond(int16_t v1, uint16_t t1, int16_t v2, uint16_t t2){ //assumes potent
max5443_set_voltage1(v1);
rtc_set_alarm(t1);
RTC.CNT = 0;
pot_exp_start();
volt_exp_start();
while (up){
if (udi_cdc_is_rx_ready()){
if (getchar() == 'a'){
......@@ -285,7 +285,7 @@ void precond(int16_t v1, uint16_t t1, int16_t v2, uint16_t t2){ //assumes potent
max5443_set_voltage1(v2);
rtc_set_alarm(t2);
RTC.CNT = 0;
pot_exp_start();
volt_exp_start();
while (up){
if (udi_cdc_is_rx_ready()){
if (getchar() == 'a'){
......@@ -902,7 +902,7 @@ void dpv_experiment(int16_t start, int16_t stop, uint16_t step, uint16_t pulse_h
ads1255_wakeup();
ads1255_rdatac();
ads1255_sync();
pot_exp_start();
volt_exp_start();
TCF0.CNT = 0;
while (!tc_is_overflow(&TCF0));
......
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