mirror of https://github.com/nealey/TwatchRings
BT alerts back on round
Only one person's using this face: my wife. So you all get BT alerts again :-p
This commit is contained in:
parent
6c88540334
commit
65b1fa6d39
|
@ -4,6 +4,7 @@
|
||||||
""
|
""
|
||||||
],
|
],
|
||||||
"companyName": "dartcatcher@gmail.com",
|
"companyName": "dartcatcher@gmail.com",
|
||||||
|
"enableMultiJS": false,
|
||||||
"longName": "Twatch Rings",
|
"longName": "Twatch Rings",
|
||||||
"projectType": "native",
|
"projectType": "native",
|
||||||
"resources": {
|
"resources": {
|
||||||
|
@ -40,11 +41,12 @@
|
||||||
"sdkVersion": "3",
|
"sdkVersion": "3",
|
||||||
"shortName": "Twatch Rings",
|
"shortName": "Twatch Rings",
|
||||||
"targetPlatforms": [
|
"targetPlatforms": [
|
||||||
|
"aplite",
|
||||||
"basalt",
|
"basalt",
|
||||||
"chalk"
|
"chalk"
|
||||||
],
|
],
|
||||||
"uuid": "029c47c0-f364-4d8f-bf66-abd35a9008f8",
|
"uuid": "029c47c0-f364-4d8f-bf66-abd35a9008f8",
|
||||||
"versionLabel": "1.1",
|
"versionLabel": "1.2",
|
||||||
"watchapp": {
|
"watchapp": {
|
||||||
"watchface": true
|
"watchface": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,12 +184,8 @@ static void init() {
|
||||||
|
|
||||||
tick_subscribe();
|
tick_subscribe();
|
||||||
|
|
||||||
#ifdef PBL_ROUND
|
|
||||||
bt_connected = true;
|
|
||||||
#else
|
|
||||||
bluetooth_connection_service_subscribe(bt_handler);
|
bluetooth_connection_service_subscribe(bt_handler);
|
||||||
bt_connected = bluetooth_connection_service_peek();
|
bt_connected = bluetooth_connection_service_peek();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void deinit() {
|
static void deinit() {
|
||||||
|
|
Loading…
Reference in New Issue