Пример #1
0
static void init() {
  APP_LOG(APP_LOG_LEVEL_DEBUG, "Watchface started");
  config_init();
  weather_init();

  s_main_window = window_create();

  window_set_window_handlers(s_main_window, (WindowHandlers) {
    .load = main_window_load,
    .unload = main_window_unload
  });
Пример #2
0
void communication_ready() {
  weather_init();
}