mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-26 05:54:46 -07:00
Format + cleanup
This commit is contained in:
@@ -58,7 +58,12 @@ void findmy_scene_config_on_enter(void* context) {
|
||||
variable_item_set_current_value_text(item, transmit_power_s);
|
||||
|
||||
item = variable_item_list_add(var_item_list, "Register Tag", 0, NULL, NULL);
|
||||
item = variable_item_list_add(var_item_list, "Matthew KuKanich, Thanks to Chapoly1305, WillyJL, OpenHaystack, Testers", 1, NULL, NULL);
|
||||
item = variable_item_list_add(
|
||||
var_item_list,
|
||||
"Matthew KuKanich, Thanks to Chapoly1305, WillyJL, OpenHaystack, Testers",
|
||||
1,
|
||||
NULL,
|
||||
NULL);
|
||||
variable_item_set_current_value_text(item, "Credits");
|
||||
|
||||
variable_item_list_set_enter_callback(var_item_list, findmy_scene_config_callback, app);
|
||||
|
||||
@@ -56,5 +56,4 @@ void findmy_scene_config_mac_on_exit(void* context) {
|
||||
|
||||
byte_input_set_result_callback(app->byte_input, NULL, NULL, NULL, NULL, 0);
|
||||
byte_input_set_header_text(app->byte_input, "");
|
||||
|
||||
}
|
||||
@@ -40,8 +40,9 @@ bool findmy_scene_config_packet_on_event(void* context, SceneManagerEvent event)
|
||||
case ByteInputResultOk:
|
||||
scene_manager_search_and_switch_to_previous_scene(
|
||||
app->scene_manager, FindMySceneConfig);
|
||||
furi_check(furi_hal_bt_extra_beacon_set_data(app->packet_buf, sizeof(app->packet_buf)));
|
||||
if (app->packet_buf[0] == 0x1E && app->packet_buf[3] == 0x00) {
|
||||
furi_check(
|
||||
furi_hal_bt_extra_beacon_set_data(app->packet_buf, sizeof(app->packet_buf)));
|
||||
if(app->packet_buf[0] == 0x1E && app->packet_buf[3] == 0x00) {
|
||||
app->apple = true; // Checks payload data for Apple identifier
|
||||
} else {
|
||||
app->apple = false;
|
||||
|
||||
Reference in New Issue
Block a user