Removed dead code

This commit is contained in:
ml
2026-06-01 16:31:29 +02:00
parent d7adb56197
commit 724157aca3
8 changed files with 1 additions and 209 deletions
@@ -20,16 +20,9 @@ static void send_key_to_phone(const char *key_str) {
}
static void inbox_received_callback(DictionaryIterator *iterator, void *context) {
APP_LOG(APP_LOG_LEVEL_DEBUG, "inbox_received_callback fired");
Tuple *time_tuple = dict_find(iterator, KEY_TIME);
if (time_tuple) {
APP_LOG(APP_LOG_LEVEL_DEBUG, "KEY_TIME found, type=%d", (int)time_tuple->type);
} else {
APP_LOG(APP_LOG_LEVEL_WARNING, "KEY_TIME not found in message");
}
if (time_tuple && time_tuple->type == TUPLE_CSTRING) {
snprintf(s_time_buffer, sizeof(s_time_buffer), "%s", time_tuple->value->cstring);
APP_LOG(APP_LOG_LEVEL_DEBUG, "Setting time: %s", s_time_buffer);
text_layer_set_text(s_time_layer, s_time_buffer);
layer_mark_dirty(text_layer_get_layer(s_time_layer));
}