mirror of
https://github.com/arwidcool/Solder-Plate.git
synced 2025-02-17 11:08:33 +01:00
Commit some minor tweak before refactoring reflow into .h and .cpp
This commit is contained in:
parent
620508b53c
commit
f62a71352e
@ -13,6 +13,7 @@
|
||||
|
||||
extern TemperatureController tempController;
|
||||
|
||||
|
||||
unsigned long lastProcessedReflowState = 0;
|
||||
OledDisplay::OledDisplay()
|
||||
{
|
||||
|
10
src/reflow.h
10
src/reflow.h
@ -4,7 +4,10 @@
|
||||
#include <EEPROM.h>
|
||||
#include "StopWatch.h"
|
||||
#include "thermistors/Thermistor.h"
|
||||
#include "displays/oled.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// STATE MACHINE
|
||||
enum ReflowProcessState
|
||||
@ -158,7 +161,10 @@ public:
|
||||
startTimes[3] = endTimes[2];
|
||||
startTimes[4] = endTimes[3];
|
||||
|
||||
startTemps[0] = 20; // USe ambient temp as the starting temp for the first step
|
||||
// We will grab the current PCB temp from the PID as the start temp otherwise the PID will be off
|
||||
|
||||
|
||||
startTemps[0] = 20; // USe ambient temp as the starting temp for the first step
|
||||
|
||||
endTemps[0] = steps[0].calcTempAtPercentage(startTemps[0], 1);
|
||||
endTemps[1] = steps[1].calcTempAtPercentage(endTemps[0], 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user