@@ -360,16 +360,6 @@ static macro_variable_t secondaryRoles(parser_context_t* ctx, set_command_action
360360 return noneVar ();
361361}
362362
363- static macro_variable_t allowUnsecuredConnections (parser_context_t * ctx , set_command_action_t action )
364- {
365- ASSIGN_BOOL (Cfg .Bt_AllowUnsecuredConnections );
366- if (Cfg .Bt_AllowUnsecuredConnections ) {
367- Macros_PrintfWithPos (ctx , "Warning: insecure connections were allowed. This may allow eavesdropping on your keyboard input!" );
368- }
369-
370- return noneVar ();
371- }
372-
373363static macro_variable_t bluetooth (parser_context_t * ctx , set_command_action_t action )
374364{
375365 if (ConsumeToken (ctx , "enabled" )) {
@@ -378,8 +368,6 @@ static macro_variable_t bluetooth(parser_context_t* ctx, set_command_action_t ac
378368#if DEVICE_IS_UHK80_RIGHT
379369 Bt_SetEnabled (newBtEnabled );
380370#endif
381- } else if (ConsumeToken (ctx , "allowUnsecuredConnections" )) {
382- return allowUnsecuredConnections (ctx , action );
383371 } else if (ConsumeToken (ctx , "peripheralConnectionCount" )) {
384372#ifdef __ZEPHYR__
385373 DEFINE_INT_LIMITS (1 , PERIPHERAL_CONNECTION_COUNT );
@@ -1099,9 +1087,6 @@ static macro_variable_t root(parser_context_t* ctx, set_command_action_t action)
10991087 DEFINE_INT_LIMITS (0 , 65535 );
11001088 ASSIGN_INT (Cfg .AutoShiftDelay );
11011089 }
1102- else if (ConsumeToken (ctx , "allowUnsecuredConnections" )) {
1103- return allowUnsecuredConnections (ctx , action );
1104- }
11051090 else if (ConsumeToken (ctx , "uiStyle" )) {
11061091 return uiStyle (ctx , action );
11071092 }
0 commit comments