@@ -518,7 +518,7 @@ uint8_t Macro_pressReleaseAdd( void *trigger_ptr )
518
518
case ScheduleType_O :
519
519
break ;
520
520
default :
521
- erro_msg ("Invalid key state - " );
521
+ erro_print ("Invalid key state - " );
522
522
error = 1 ;
523
523
break ;
524
524
}
@@ -543,15 +543,15 @@ uint8_t Macro_pressReleaseAdd( void *trigger_ptr )
543
543
544
544
// Invalid TriggerGuide type for Interconnect
545
545
default :
546
- erro_msg ("Invalid type - " );
546
+ erro_print ("Invalid type - " );
547
547
error = 1 ;
548
548
break ;
549
549
}
550
550
551
551
// Check if ScanCode is out of range
552
552
if ( trigger -> index > MaxScanCode_KLL )
553
553
{
554
- warn_msg ("ScanCode is out of range/not defined - " );
554
+ warn_print ("ScanCode is out of range/not defined - " );
555
555
error = 1 ;
556
556
}
557
557
@@ -624,7 +624,7 @@ void Macro_keyState( uint16_t scanCode, uint8_t state )
624
624
// Check if ScanCode is out of range
625
625
if ( scanCode > MaxScanCode_KLL )
626
626
{
627
- warn_msg ("ScanCode is out of range/not defined: " );
627
+ warn_print ("ScanCode is out of range/not defined: " );
628
628
printInt16 ( scanCode );
629
629
print ( NL );
630
630
return ;
@@ -749,7 +749,7 @@ void Macro_animationState( uint16_t animationIndex, uint8_t state )
749
749
// Check if animation index is out of range
750
750
if ( animationIndex > AnimationNum_KLL )
751
751
{
752
- warn_msg ("AnimationIndex is out of range/not defined: " );
752
+ warn_print ("AnimationIndex is out of range/not defined: " );
753
753
printInt16 ( animationIndex );
754
754
print ( NL );
755
755
return ;
@@ -807,7 +807,7 @@ void Macro_layerState( uint16_t layerIndex, uint8_t state )
807
807
// Check if layer is out of range
808
808
if ( layerIndex > LayerNum_KLL )
809
809
{
810
- warn_msg ("LayerIndex is out of range/not defined: " );
810
+ warn_print ("LayerIndex is out of range/not defined: " );
811
811
printInt16 ( layerIndex );
812
812
print ( NL );
813
813
return ;
@@ -863,7 +863,7 @@ void Macro_timeState( uint8_t type, uint16_t cur_time, uint8_t state )
863
863
864
864
// Ignore if not the correct type
865
865
default :
866
- warn_msg ("Invalid time state trigger update: " );
866
+ warn_print ("Invalid time state trigger update: " );
867
867
printHex ( type );
868
868
print (NL );
869
869
return ;
@@ -873,7 +873,7 @@ void Macro_timeState( uint8_t type, uint16_t cur_time, uint8_t state )
873
873
// When this function called the trigger is active
874
874
if ( cur_time > 0xFF )
875
875
{
876
- warn_msg ("Only 255 time instances are accepted for a time state trigger: " );
876
+ warn_print ("Only 255 time instances are accepted for a time state trigger: " );
877
877
printInt16 ( cur_time );
878
878
print (NL );
879
879
return ;
@@ -1081,7 +1081,7 @@ void Macro_periodic()
1081
1081
1082
1082
// Not implemented
1083
1083
default :
1084
- erro_msg ("Interconnect Trigger Event Type - Not Implemented " );
1084
+ erro_print ("Interconnect Trigger Event Type - Not Implemented " );
1085
1085
printHex ( macroInterconnectCache [ c ].type );
1086
1086
print ( NL );
1087
1087
break ;
@@ -1120,7 +1120,7 @@ void Macro_periodic()
1120
1120
// Bug!
1121
1121
else
1122
1122
{
1123
- erro_msg ("Macro Trigger Event Overflow! Serious Bug! " );
1123
+ erro_print ("Macro Trigger Event Overflow! Serious Bug! " );
1124
1124
printInt16 ( macroTriggerEventBufferSize );
1125
1125
print ( NL );
1126
1126
macroTriggerEventBufferSize = 0 ;
@@ -1221,14 +1221,14 @@ void cliFunc_capDebug( char* args )
1221
1221
capDebugMode = capDebugMode ? 0 : 1 ;
1222
1222
1223
1223
print ( NL );
1224
- info_msg ("Capability Debug Mode: " );
1224
+ info_print ("Capability Debug Mode: " );
1225
1225
printInt8 ( capDebugMode );
1226
1226
}
1227
1227
1228
1228
void cliFunc_capList ( char * args )
1229
1229
{
1230
1230
print ( NL );
1231
- info_msg ("Capabilities List " );
1231
+ info_print ("Capabilities List " );
1232
1232
printHex ( CapabilitiesNum );
1233
1233
1234
1234
// Iterate through all of the capabilities and display them
@@ -1293,7 +1293,7 @@ void cliFunc_capSelect( char* args )
1293
1293
{
1294
1294
// Indicate that the capability was called
1295
1295
print ( NL );
1296
- info_msg ("K" );
1296
+ info_print ("K" );
1297
1297
printInt8 ( cap );
1298
1298
print (" - " );
1299
1299
printHex ( argSet [0 ] );
@@ -1311,7 +1311,7 @@ void cliFunc_capSelect( char* args )
1311
1311
{
1312
1312
print ( NL );
1313
1313
warn_printNL ("flashModeEnabled not set, cancelling firmware reload..." );
1314
- info_msg ("Set flashModeEnabled to 1 in your kll configuration." );
1314
+ info_print ("Set flashModeEnabled to 1 in your kll configuration." );
1315
1315
return ;
1316
1316
}
1317
1317
}
@@ -1413,14 +1413,14 @@ void cliFunc_layerDebug( char *args )
1413
1413
layerDebugMode = layerDebugMode ? 0 : 1 ;
1414
1414
1415
1415
print ( NL );
1416
- info_msg ("Layer Debug Mode: " );
1416
+ info_print ("Layer Debug Mode: " );
1417
1417
printInt8 ( layerDebugMode );
1418
1418
}
1419
1419
1420
1420
void cliFunc_layerList ( char * args )
1421
1421
{
1422
1422
print ( NL );
1423
- info_msg ("Layer List" );
1423
+ info_print ("Layer List" );
1424
1424
1425
1425
// Iterate through all of the layers and display them
1426
1426
for ( index_uint_t layer = 0 ; layer < LayerNum ; layer ++ )
@@ -1483,7 +1483,7 @@ void cliFunc_layerState( char* args )
1483
1483
1484
1484
// Display operation (to indicate that it worked)
1485
1485
print ( NL );
1486
- info_msg ("Setting Layer L" );
1486
+ info_print ("Setting Layer L" );
1487
1487
printInt8 ( arg1 );
1488
1488
print (" to - " );
1489
1489
printHex ( arg2 );
@@ -1528,15 +1528,15 @@ void cliFunc_macroDebug( char* args )
1528
1528
}
1529
1529
1530
1530
print ( NL );
1531
- info_msg ("Macro Debug Mode: " );
1531
+ info_print ("Macro Debug Mode: " );
1532
1532
printInt8 ( macroDebugMode );
1533
1533
}
1534
1534
1535
1535
void cliFunc_macroList ( char * args )
1536
1536
{
1537
1537
// Show pending key events
1538
1538
print ( NL );
1539
- info_msg ("Pending Key Events: " );
1539
+ info_print ("Pending Key Events: " );
1540
1540
printInt16 ( (uint16_t )macroTriggerEventBufferSize );
1541
1541
print (" : " );
1542
1542
for ( var_uint_t key = 0 ; key < macroTriggerEventBufferSize ; key ++ )
@@ -1547,7 +1547,7 @@ void cliFunc_macroList( char* args )
1547
1547
1548
1548
// Show pending trigger macros
1549
1549
print ( NL );
1550
- info_msg ("Pending Trigger Macros: " );
1550
+ info_print ("Pending Trigger Macros: " );
1551
1551
printInt16 ( (uint16_t )macroTriggerMacroPendingListSize );
1552
1552
print (" : " );
1553
1553
for ( var_uint_t macro = 0 ; macro < macroTriggerMacroPendingListSize ; macro ++ )
@@ -1558,7 +1558,7 @@ void cliFunc_macroList( char* args )
1558
1558
1559
1559
// Show pending result macros
1560
1560
print ( NL );
1561
- info_msg ("Pending Result Macros: " );
1561
+ info_print ("Pending Result Macros: " );
1562
1562
printInt16 ( (uint16_t )macroResultMacroPendingList .size );
1563
1563
print (" : " );
1564
1564
for ( var_uint_t macro = 0 ; macro < macroResultMacroPendingList .size ; macro ++ )
@@ -1569,17 +1569,17 @@ void cliFunc_macroList( char* args )
1569
1569
1570
1570
// Show available trigger macro indices
1571
1571
print ( NL );
1572
- info_msg ("Trigger Macros Range: T0 -> T" );
1572
+ info_print ("Trigger Macros Range: T0 -> T" );
1573
1573
printInt16 ( (uint16_t )TriggerMacroNum - 1 ); // Hopefully large enough :P (can't assume 32-bit)
1574
1574
1575
1575
// Show available result macro indices
1576
1576
print ( NL );
1577
- info_msg ("Result Macros Range: R0 -> R" );
1577
+ info_print ("Result Macros Range: R0 -> R" );
1578
1578
printInt16 ( (uint16_t )ResultMacroNum - 1 ); // Hopefully large enough :P (can't assume 32-bit)
1579
1579
1580
1580
// Show Trigger to Result Macro Links
1581
1581
print ( NL );
1582
- info_msg ("Trigger : Result Macro Pairs" );
1582
+ info_print ("Trigger : Result Macro Pairs" );
1583
1583
for ( var_uint_t macro = 0 ; macro < TriggerMacroNum ; macro ++ )
1584
1584
{
1585
1585
print ( NL );
@@ -1596,7 +1596,7 @@ void cliFunc_macroProc( char* args )
1596
1596
macroPauseMode = macroPauseMode ? 0 : 1 ;
1597
1597
1598
1598
print ( NL );
1599
- info_msg ("Macro Processing Mode: " );
1599
+ info_print ("Macro Processing Mode: " );
1600
1600
printInt8 ( macroPauseMode );
1601
1601
}
1602
1602
@@ -1611,7 +1611,7 @@ void macroDebugShowTrigger( var_uint_t index )
1611
1611
TriggerMacroRecord * record = & TriggerMacroRecordList [ index ];
1612
1612
1613
1613
print ( NL );
1614
- info_msg ("Trigger Macro Index: " );
1614
+ info_print ("Trigger Macro Index: " );
1615
1615
printInt16 ( (uint16_t )index ); // Hopefully large enough :P (can't assume 32-bit)
1616
1616
print ( NL );
1617
1617
@@ -1685,7 +1685,7 @@ void macroDebugShowResult( var_uint_t index )
1685
1685
const ResultMacro * macro = & ResultMacroList [ index ];
1686
1686
1687
1687
print ( NL );
1688
- info_msg ("Result Macro Index: " );
1688
+ info_print ("Result Macro Index: " );
1689
1689
printInt16 ( (uint16_t )index ); // Hopefully large enough :P (can't assume 32-bit)
1690
1690
print ( NL );
1691
1691
@@ -1873,7 +1873,7 @@ void cliFunc_voteDebug( char* args )
1873
1873
}
1874
1874
1875
1875
print ( NL );
1876
- info_msg ("Vote Debug Mode: " );
1876
+ info_print ("Vote Debug Mode: " );
1877
1877
printInt8 ( voteDebugMode );
1878
1878
}
1879
1879
0 commit comments