Major code cleanup and preparation for PartialMap Macro Module
- Code should be working, but much is untested - All of the old modules will need to update and use the new DefaultMap keymap - There might still be some naming conflicts with some Scan Modules
This commit is contained in:
parent
f3e22fb242
commit
9d423a64a8
81 changed files with 1373 additions and 904 deletions
|
@ -45,7 +45,7 @@ void printstrs( char* first, ... )
|
|||
while ( !( cur[0] == '\0' && cur[1] == '\0' && cur[2] == '\0' ) )
|
||||
{
|
||||
// Print out the given string
|
||||
output_putstr( cur );
|
||||
Output_putstr( cur );
|
||||
|
||||
// Get the next argument ready
|
||||
cur = va_arg( ap, char* );
|
||||
|
@ -62,10 +62,10 @@ void _print( const char* s )
|
|||
char c;
|
||||
while ( ( c = pgm_read_byte( s++ ) ) != '\0' )
|
||||
{
|
||||
output_putchar( c );
|
||||
Output_putchar( c );
|
||||
}
|
||||
#elif defined(_mk20dx128_) || defined(_mk20dx256_) // ARM
|
||||
output_putstr( (char*)s );
|
||||
Output_putstr( (char*)s );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
*/
|
||||
|
||||
// Function Aliases
|
||||
#define dPrint(c) output_putstr(c)
|
||||
#define dPrintStr(c) output_putstr(c)
|
||||
#define dPrint(c) Output_putstr(c)
|
||||
#define dPrintStr(c) Output_putstr(c)
|
||||
#define dPrintStrs(...) printstrs(__VA_ARGS__, "\0\0\0") // Convenience Variadic Macro
|
||||
#define dPrintStrNL(c) dPrintStrs (c, NL) // Appends New Line Macro
|
||||
#define dPrintStrsNL(...) printstrs(__VA_ARGS__, NL, "\0\0\0") // Appends New Line Macro
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
###| CMake Kiibohd Controller Debug Module |###
|
||||
#
|
||||
# Written by Jacob Alexander in 2011 for the Kiibohd Controller
|
||||
# Written by Jacob Alexander in 2011,2014 for the Kiibohd Controller
|
||||
#
|
||||
# Released into the Public Domain
|
||||
#
|
||||
|
@ -16,12 +16,6 @@ set( DEBUG_SRCS
|
|||
)
|
||||
|
||||
|
||||
###
|
||||
# Setup File Dependencies
|
||||
#
|
||||
add_file_dependencies( ../led/print.c ../led/print.h )
|
||||
|
||||
|
||||
###
|
||||
# Module Specific Options
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue