diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-12-08 14:51:46 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-12-08 14:51:46 +0200 |
| commit | aeabb681d16451e191a1620d4eebf40549771491 (patch) | |
| tree | 33183bb64916935d68e2399028b9e9c0952e098f /Software/Embedded_SW/Embedded/StateMachines | |
| parent | 3cd59dd3b04168ad91cb1fe51231e9b3ddd74705 (diff) | |
| download | Tango-aeabb681d16451e191a1620d4eebf40549771491.tar.gz Tango-aeabb681d16451e191a1620d4eebf40549771491.zip | |
Support for new head in ProtoBif and embedded (initial)
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines')
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c index 710876e4a..671ab1dd8 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/PrintingSTM.c @@ -19,6 +19,8 @@ #include "include.h" #include "./printingSTM.h" +#include "Drivers/Heater/Heater.h" + #include "Modules/General/MachineStatus.h" #include "modules/General/process.h" #include "modules/thread/thread_ex.h" @@ -335,7 +337,7 @@ uint32_t PrintingHWConfiguration(void *Configuration) { for (i = 0; i < request->n_pidcontrols ; i++) { - if (request->pidcontrols[i]->hardwarepidcontroltype <= HARDWARE_PID_CONTROL_TYPE__MixerHeater) + if (isHeater(request->pidcontrols[i]->hardwarepidcontroltype)) { Configured[Module_Heaters] = true; break; |
