Disable BT alerts on PTR

This commit is contained in:
Neale Pickett 2015-12-27 08:53:30 -07:00
parent d76bb9eba5
commit 6c88540334
2 changed files with 19 additions and 14 deletions

View File

@ -8,19 +8,6 @@
"projectType": "native", "projectType": "native",
"resources": { "resources": {
"media": [ "media": [
{
"file": "images/icon",
"name": "IMAGE_ICON",
"targetPlatforms": null,
"type": "bitmap"
},
{
"characterRegex": "[0-9]",
"file": "fonts/Helvetica-Bold.ttf",
"name": "FONT_24",
"targetPlatforms": null,
"type": "font"
},
{ {
"file": "images/menu.png", "file": "images/menu.png",
"menuIcon": true, "menuIcon": true,
@ -28,12 +15,25 @@
"targetPlatforms": null, "targetPlatforms": null,
"type": "png" "type": "png"
}, },
{
"file": "images/icon",
"name": "IMAGE_ICON",
"targetPlatforms": null,
"type": "bitmap"
},
{ {
"characterRegex": "[\uf10b]", "characterRegex": "[\uf10b]",
"file": "fonts/fontawesome-webfont.ttf", "file": "fonts/fontawesome-webfont.ttf",
"name": "SYMBOLS_64", "name": "SYMBOLS_64",
"targetPlatforms": null, "targetPlatforms": null,
"type": "font" "type": "font"
},
{
"characterRegex": "[0-9]",
"file": "fonts/Helvetica-Bold.ttf",
"name": "FONT_24",
"targetPlatforms": null,
"type": "font"
} }
] ]
}, },
@ -44,7 +44,7 @@
"chalk" "chalk"
], ],
"uuid": "029c47c0-f364-4d8f-bf66-abd35a9008f8", "uuid": "029c47c0-f364-4d8f-bf66-abd35a9008f8",
"versionLabel": "1.0", "versionLabel": "1.1",
"watchapp": { "watchapp": {
"watchface": true "watchface": true
} }

View File

@ -183,8 +183,13 @@ static void init() {
gpath_move_to(s_hour_arrow, center); gpath_move_to(s_hour_arrow, center);
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() {