@@ -188,13 +188,13 @@ void mag_scene_emulate_config_on_enter(void* context) {
188
188
VariableItem * item ;
189
189
uint8_t value_index ;
190
190
191
- // TX
191
+ // Clock
192
192
item = variable_item_list_add (
193
- mag -> variable_item_list , "TX via :" , TX_COUNT , mag_scene_emulate_config_set_tx , mag );
194
- value_index = value_index_uint32 (mag -> setting -> tx , tx_value , TX_COUNT );
193
+ mag -> variable_item_list , "Clock :" , CLOCK_COUNT , mag_scene_emulate_config_set_clock , mag );
194
+ value_index = value_index_uint32 (mag -> setting -> us_clock , clock_value , CLOCK_COUNT );
195
195
scene_manager_set_scene_state (mag -> scene_manager , MagSceneEmulateConfig , (uint32_t )item );
196
196
variable_item_set_current_value_index (item , value_index );
197
- variable_item_set_current_value_text (item , tx_text [value_index ]);
197
+ variable_item_set_current_value_text (item , clock_text [value_index ]);
198
198
199
199
// Track
200
200
item = variable_item_list_add (
@@ -217,14 +217,21 @@ void mag_scene_emulate_config_on_enter(void* context) {
217
217
variable_item_set_current_value_index (item , value_index );
218
218
variable_item_set_current_value_text (item , reverse_text [value_index ]);
219
219
220
- // Clock
221
- item = variable_item_list_add (
222
- mag -> variable_item_list , "Clock:" , CLOCK_COUNT , mag_scene_emulate_config_set_clock , mag );
223
- value_index = value_index_uint32 (mag -> setting -> us_clock , clock_value , CLOCK_COUNT );
224
- scene_manager_set_scene_state (mag -> scene_manager , MagSceneEmulateConfig , (uint32_t )item );
225
- variable_item_set_current_value_index (item , value_index );
226
- variable_item_set_current_value_text (item , clock_text [value_index ]);
227
-
220
+ // TX
221
+ #ifdef FW_ORIGIN_Official
222
+ if (mag -> setting -> is_debug ) {
223
+ #endif
224
+ item = variable_item_list_add (
225
+ mag -> variable_item_list , "TX via:" , TX_COUNT , mag_scene_emulate_config_set_tx , mag );
226
+ value_index = value_index_uint32 (mag -> setting -> tx , tx_value , TX_COUNT );
227
+ scene_manager_set_scene_state (mag -> scene_manager , MagSceneEmulateConfig , (uint32_t )item );
228
+ variable_item_set_current_value_index (item , value_index );
229
+ variable_item_set_current_value_text (item , tx_text [value_index ]);
230
+ #ifdef FW_ORIGIN_Official
231
+ }
232
+ #else
233
+ variable_item_set_locked (item , !mag -> setting -> is_debug , "Enable Debug!" );
234
+ #endif
228
235
// Interpacket
229
236
/*
230
237
item = variable_item_list_add(
0 commit comments