diff --git a/Powercore-V2.0 Firmware/main.c b/Powercore-V2.0 Firmware/main.c index 8ac8b66..9f2c9d5 100644 --- a/Powercore-V2.0 Firmware/main.c +++ b/Powercore-V2.0 Firmware/main.c @@ -12,7 +12,7 @@ //OUTPUT PULSE PARAMETERS (times in usecs) #define OUTPUT_ON_TIME 20 #define OUTPUT_OFF_TIME 70 -#define ISO_PULSE false +#define ISO_PULSE true #define CAP_VOLTAGE_SETPOINT 65 //CC Charger Parameters (don't change unless you know what you're doing) diff --git a/Powercore-V2.0 Firmware/pulse_generator.c b/Powercore-V2.0 Firmware/pulse_generator.c index bed73e2..fd10c9e 100644 --- a/Powercore-V2.0 Firmware/pulse_generator.c +++ b/Powercore-V2.0 Firmware/pulse_generator.c @@ -37,8 +37,6 @@ alarm_id_t timeout_alarm_id; uint32_t pulse_history[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; uint32_t pulse_counter = 0; -bool tracker = false; - //Prototype functions int64_t begin_off_time(alarm_id_t id, void *user_data); @@ -158,7 +156,7 @@ int64_t begin_off_time(alarm_id_t id, void *user_data){ } -int64_t first_off_time(){ +void first_off_time(){ gpio_put(OUTPUT_EN_PIN, false); //Turn off output MOSFET