mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
Merge pull request #16297 from fjmolinas/pr_sgp30_unused_var
drivers/sgp30: unused variable when DEVELHELP=0
This commit is contained in:
commit
0397cab91c
@ -238,6 +238,7 @@ int sgp30_reset(sgp30_t *dev)
|
||||
|
||||
int sgp30_read_serial_number(sgp30_t *dev, uint8_t *buf, size_t len)
|
||||
{
|
||||
(void) len;
|
||||
assert(dev && buf && (len == SGP30_SERIAL_ID_LEN));
|
||||
uint8_t frame[9];
|
||||
if (_rx_tx_data(dev, SGP30_CMD_READ_SERIAL, (uint8_t *)frame, sizeof(frame),
|
||||
|
Loading…
Reference in New Issue
Block a user