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

View File

@ -183,8 +183,13 @@ static void init() {
gpath_move_to(s_hour_arrow, center);
tick_subscribe();
#ifdef PBL_ROUND
bt_connected = true;
#else
bluetooth_connection_service_subscribe(bt_handler);
bt_connected = bluetooth_connection_service_peek();
#endif
}
static void deinit() {