mirror of https://github.com/nealey/TwatchFonts
Disable BT on PTR
This commit is contained in:
parent
2d0563bf37
commit
c70982996a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue