Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LG by
Diff: DeviceCounters.c
- Revision:
- 167:bedc0a9d559a
- Parent:
- 156:e68ee0bcdcda
- Child:
- 173:7f938afb0447
--- a/DeviceCounters.c Sun May 22 18:59:20 2016 +0000
+++ b/DeviceCounters.c Sun Jun 05 11:03:33 2016 +0000
@@ -1,14 +1,17 @@
#include "Device.h"
extern Device device;
-void InitCountersWithDefaults(void){
+void InitCountersDefaultSettings(void){
for (uint8_t i = 0; i < 32; i++) device.counters.state.delta[i] = 0;
device.counters.state.angle = 0;
device.counters.state.amplitude = 0;
device.counters.state.frequency = 0;
}
-void InitCounters(void){
+void InitCountersState(void){
+}
+
+void DeviceStartCounters(void){
}
void DeviceCount(void){
