mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-14 12:46:50 +01:00
message separator
This commit is contained in:
@@ -9,7 +9,7 @@ int FORMAT_BUFFER_SIZE(const char* format, ...) {
|
||||
}
|
||||
void PRINT_MSG(Print &out, const char* prefix, const char* format, ...) {
|
||||
if(SPROCKET_PRINT){
|
||||
out.print(String(prefix) + String(": "));
|
||||
out.print(String(prefix) + String("\t| "));
|
||||
char formatString[128], *ptr;
|
||||
strncpy_P( formatString, format, sizeof(formatString) ); // copy in from program mem
|
||||
// null terminate - leave last char since we might need it in worst case for result's \0
|
||||
|
||||
Reference in New Issue
Block a user