Disable BT on PTR

This commit is contained in:
Neale Pickett 2015-12-27 08:50:56 -07:00
parent 2d0563bf37
commit c70982996a
2 changed files with 6 additions and 1 deletions

View File

@ -115,7 +115,7 @@
"chalk" "chalk"
], ],
"uuid": "2dce4324-374b-4e5e-9b98-3275561118f3", "uuid": "2dce4324-374b-4e5e-9b98-3275561118f3",
"versionLabel": "1.0", "versionLabel": "1.2",
"watchapp": { "watchapp": {
"watchface": true "watchface": true
} }

View File

@ -141,8 +141,13 @@ static void init() {
window_stack_push(s_main_window, true); window_stack_push(s_main_window, true);
tick_timer_service_subscribe(MINUTE_UNIT, handle_minute_tick); tick_timer_service_subscribe(MINUTE_UNIT, handle_minute_tick);
#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
app_message_register_inbox_received(in_received_handler); app_message_register_inbox_received(in_received_handler);
app_message_register_inbox_dropped(in_dropped_handler); app_message_register_inbox_dropped(in_dropped_handler);