|
|
@@ -11,7 +11,7 @@
|
|
|
#include "src/peripherals/adc/adc_interface.h"
|
|
|
// mux peripheral
|
|
|
#include "src/peripherals/mux/multiplexer.h"
|
|
|
-#define DELAY_CYCLE (5000)
|
|
|
+#define DELAY_CYCLE (1000000)
|
|
|
//i2c:
|
|
|
#include "ti/comm_modules/i2c/controller/i2c_comm_controller.h"
|
|
|
//battery:
|
|
|
@@ -175,7 +175,9 @@ int main(void){
|
|
|
for (uint8_t adc_channel = 0; adc_channel < ADC_CHANNEL_NUM; adc_channel++) {
|
|
|
updateADCReading_multichannel(slot_id, adc_channel);
|
|
|
}
|
|
|
- delay_cycles(DELAY_CYCLE);
|
|
|
+
|
|
|
}
|
|
|
+
|
|
|
+ delay_cycles(DELAY_CYCLE);
|
|
|
}
|
|
|
}
|