mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/sgp30: unused variable when DEVELHELP=0
This commit is contained in:
parent
6ee94bdcdf
commit
7079525b35
@ -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