fix(rp2040): make stdio_rtt_init static

LOGGER=rtt builds of any rp2040 example fail with -Werror=missing-prototypes
(stdio_rtt_init has no prototype and is only called from family.c).
Found by building cdc_msc -DLOG=2 -DLOGGER=rtt for raspberry_pi_pico.
This commit is contained in:
hathach
2026-07-23 11:38:26 +07:00
parent 8918c4fec4
commit 80a000e2f0

View File

@ -153,7 +153,7 @@ static stdio_driver_t stdio_rtt = {
.in_chars = stdio_rtt_read
};
void stdio_rtt_init(void) {
static void stdio_rtt_init(void) {
stdio_set_driver_enabled(&stdio_rtt, true);
}
#endif