diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-11 14:14:36 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-11 14:14:36 +0300 |
| commit | 6f8e84556dc6a4dcae9598df0685d81ea255269f (patch) | |
| tree | 0b0c9871cda349e238ad1cc4b8d2b133cfed0e24 /Software/Embedded_SW/Embedded/Modules/Control/control.c | |
| parent | 50672cf57739bac3c0ddefcd40563d0fbed3db80 (diff) | |
| download | Tango-6f8e84556dc6a4dcae9598df0685d81ea255269f.tar.gz Tango-6f8e84556dc6a4dcae9598df0685d81ea255269f.zip | |
bug fix in control (uint16 timimg - not good for large segments) and heaters (increase band, handle job end)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/control.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c index 52b52d93b..608d17a7b 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/control.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c @@ -69,7 +69,7 @@ typedef struct uint32_t StartTick; DataReadCBFunction ControlDataReadPtr; ControlCBFunction ControlCallbackPtr; - uint16_t ControlTiming; + uint32_t ControlTiming; }ControlDeviceStruc; typedef enum @@ -224,7 +224,7 @@ void ControlStart(void) * both these callbacks can be removed. if a new call is arriving, it invalidates the previous one (no dual control or data) * ***************************************************************************************************************************************************/ -uint32_t AddControlCallback( ControlCBFunction Callback, CTRL_TIMING_ENUM CtrlFrequency, DataReadCBFunction DriverfPtr, uint16_t IfIndex, uint32_t Parameter1, uint32_t Parameter2 ) +uint32_t AddControlCallback( ControlCBFunction Callback, uint32_t CtrlFrequency, DataReadCBFunction DriverfPtr, uint16_t IfIndex, uint32_t Parameter1, uint32_t Parameter2 ) { assert(Callback); assert(DriverfPtr); |
