Replace '%s' with '%ld', so that 'long' value is properly printed with
shell_error(). This suppresses following warning:
zephyr/drivers/lora/shell.c:181:23: warning: format '%s' expects \
argument of type 'char *', but argument 4 has type 'long int' \
[-Wformat=]
181 | shell_error(shell, "Invalid bandwidth: %s", lval);
| ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~
| |
| long int
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hal_common.c | ||
| Kconfig | ||
| Kconfig.sx12xx | ||
| shell.c | ||
| sx12xx_common.c | ||
| sx12xx_common.h | ||
| sx126x_common.h | ||
| sx126x_standalone.c | ||
| sx126x_stm32wl.c | ||
| sx126x.c | ||
| sx127x.c | ||