ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
46:b8f4c050739a
Parent:
45:f4be69c936f6
Child:
67:81a545a4963c
--- a/WatchDog.h	Sun Aug 28 14:32:28 2016 +0000
+++ b/WatchDog.h	Sun Aug 28 16:25:26 2016 +0000
@@ -1,7 +1,6 @@
 
 class WatchDog {
-    static const uint32_t RELOAD_VALUE = 0x6E524635;
-    static const uint8_t WDT_TIMEOUT = 1; // sec
+    static const uint8_t WDT_TIMEOUT = 3; // sec
 public:
     static void init() {
         // timeout [s] = (CRV + 1) / 32768;
@@ -13,7 +12,7 @@
     }
     
     static void reload() {
-        NRF_WDT->RR[0] = RELOAD_VALUE;
+        NRF_WDT->RR[0] = WDT_RR_RR_Reload;
     }
     
 };
\ No newline at end of file