FitGroup: Network of Hexiwear Fitness Watches for Group of Friends/Family
Dependencies: FXOS8700 Hexi_KW40Z Hexi_OLED_SSD1351 MAX30101
Fork of FINAL_FINAL_FINAL by
Diff: main.cpp
- Revision:
- 8:f5a21cfd3833
- Parent:
- 7:e5fcb30509ea
diff -r e5fcb30509ea -r f5a21cfd3833 main.cpp
--- a/main.cpp Fri Jun 15 05:59:16 2018 +0000
+++ b/main.cpp Sun Jun 17 20:54:03 2018 +0000
@@ -187,6 +187,7 @@
// Key modification: use the alert functionality enabled by the host-ble interface
// to define our own command.
void AlertReceived(uint8_t *data, uint8_t length) {
+ processedReceivedData = false;
StartHaptic();
data[19] = 0;
@@ -259,16 +260,19 @@
void ButtonUp(void) {
StartHaptic();
flag = 1;
+// processedReceivedData = false;
}
void ButtonDown(void) {
StartHaptic();
flag = 2;
+// processedReceivedData = false;
}
void ButtonRight(void) {
StartHaptic();
flag = 3;
+// processedReceivedData = false;
}
void ButtonLeft(void) {
