mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
Supress -Wunused-parameter when PICO_STDIO_ENABLE_CRLF_SUPPORT is unset (#998)
This commit is contained in:
parent
0041f4b7fd
commit
07e5caf341
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue