Supress -Wunused-parameter when PICO_STDIO_ENABLE_CRLF_SUPPORT is unset (#998)
This commit is contained in:
parent
0041f4b7fd
commit
07e5caf341
@ -315,6 +315,10 @@ void stdio_set_translate_crlf(stdio_driver_t *driver, bool enabled) {
|
||||
}
|
||||
driver->crlf_enabled = enabled;
|
||||
#else
|
||||
// Suppress -Wunused-parameter
|
||||
(void)driver;
|
||||
(void)enabled;
|
||||
|
||||
panic_unsupported();
|
||||
#endif
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user