123
Fork of LG by
Diff: DeviceErrorModel.c
- Revision:
- 198:78dd6d14d108
- Parent:
- 197:7a05523bf588
diff -r 7a05523bf588 -r 78dd6d14d108 DeviceErrorModel.c --- a/DeviceErrorModel.c Wed Oct 19 10:55:05 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,33 +0,0 @@ -#include "Device.h" -extern Device device; - -void InitEMDefaultSettings(void){ - device.em.bias1.settings.enabled = 0; - device.em.bias1.settings.m[0] = 0; - device.em.bias1.settings.m[1] = 0; - device.em.bias1.settings.m[2] = 0; -} - -void InitEMState(void) { - device.em.bias1.state.enabled = device.em.bias1.settings.enabled; - device.em.bias1.state.ppm = 0; - device.em.bias1.state.error = 0; -} - -void DeviceStartEM(void) { -} - -void emProcessBias1(void) { -} - -void emProcessBias2(void) { -} - -void emProcess(void) { - if (device.em.bias1.state.enabled) { - emProcessBias1(); - } - if (device.em.bias2.state.enabled) { - emProcessBias2(); - } -} \ No newline at end of file