Skip to content

Commit

Permalink
drivers/bme680: fix empty initializer
Browse files Browse the repository at this point in the history
Fix:
  bme680.c:42:39: error: use of GNU empty initializer extension
  bme680_t *bme680_devs[BME680_NUMOF] = { };
                                      ^

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
  • Loading branch information
gdoffe committed Feb 26, 2024
1 parent dfe1e8c commit e5e81d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bme680/bme680.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

unsigned int bme680_devs_numof = 0;

bme680_t *bme680_devs[BME680_NUMOF] = { };
bme680_t *bme680_devs[BME680_NUMOF] = {0};

int bme680_init(bme680_t *dev, const bme680_params_t *params)
{
Expand Down

0 comments on commit e5e81d1

Please sign in to comment.