Fix USER_PRINT stripping out uprintf (#25919)

This commit is contained in:
Joel Challis
2026-05-07 22:33:31 +01:00
committed by GitHub
parent a498daf627
commit 1a56fbece2
2 changed files with 29 additions and 19 deletions
+6
View File
@@ -24,3 +24,9 @@
#pragma once
#include "avr/xprintf.h"
// TODO: Remove xprintf due to conflicts/assumptions on direct library usage
#undef xprintf
// Export main print function
#define print_printf(fmt, ...) __xprintf(PSTR(fmt), ##__VA_ARGS__)