diff options
author | Ben V. Brown <[email protected]> | 2020-05-23 13:42:03 +1000 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2020-05-23 13:42:03 +1000 |
commit | 4814ae139352c185db15c4daa8861aa9e0ad64dd (patch) | |
tree | d4ac941b0944376ca8d832c1034bf917835c6615 | |
parent | 1a671dfbdd9e14727bc084d16913601b12a0e8dc (diff) | |
download | IronOS-4814ae139352c185db15c4daa8861aa9e0ad64dd.tar.gz IronOS-4814ae139352c185db15c4daa8861aa9e0ad64dd.zip |
Update main.cpp
-rw-r--r-- | workspace/TS100/Core/Src/main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/workspace/TS100/Core/Src/main.cpp b/workspace/TS100/Core/Src/main.cpp index 9aa15ed4..ad952611 100644 --- a/workspace/TS100/Core/Src/main.cpp +++ b/workspace/TS100/Core/Src/main.cpp @@ -43,7 +43,6 @@ void startPIDTask(void const *argument); void startMOVTask(void const *argument); // End FreeRTOS - // Main sets up the hardware then hands over to the FreeRTOS kernel int main(void) { /* Reset of all peripherals, Initializes the Flash interface and the Systick. @@ -111,15 +110,9 @@ void startPIDTask(void const *argument __unused) { * control PWM. */ setTipX10Watts(0); // disable the output driver if the output is set to be off - -#ifdef MODEL_TS80 - //Set power management code to the tip resistance in ohms * 10 - TickType_t lastPowerPulseStart = 0; TickType_t lastPowerPulseEnd = 0; -#else -#endif history<int32_t, PID_TIM_HZ> tempError = { { 0 }, 0, 0 }; currentTempTargetDegC = 0; // Force start with no output (off). If in sleep / soldering this will // be over-ridden rapidly |