From: Nathael Pajani Date: Thu, 15 Sep 2016 03:14:32 +0000 (+0200) Subject: small cosmetic fixes X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=c980ad6e06de18008e6617d7cdb452e44da8db97;p=soft%2Flpc82x%2Fcore small cosmetic fixes --- diff --git a/extdrv/veml6070_uv_sensor.c b/extdrv/veml6070_uv_sensor.c index 21d56f3..301e2dd 100644 --- a/extdrv/veml6070_uv_sensor.c +++ b/extdrv/veml6070_uv_sensor.c @@ -60,7 +60,7 @@ int veml6070_probe_sensor(struct veml6070_sensor_config* conf) int veml6070_sensor_read(struct veml6070_sensor_config* conf, uint16_t* uv_raw) { int ret = 0; - char cmd_buf =0; + char cmd_buf = 0; uint8_t data = 0; if (conf->probe_ok != 1) { diff --git a/include/extdrv/veml6070_uv_sensor.h b/include/extdrv/veml6070_uv_sensor.h index 440ffdb..585fa89 100644 --- a/include/extdrv/veml6070_uv_sensor.h +++ b/include/extdrv/veml6070_uv_sensor.h @@ -83,7 +83,6 @@ int veml6070_sensor_read(struct veml6070_sensor_config* conf, uint16_t* uv_raw); * -EREMOTEIO : Device did not acknowledge : Any device present ? * -EIO : Bad one: Illegal start or stop, or illegal state in i2c state machine */ -#define CONF_BUF_SIZE 2 int veml6070_configure(struct veml6070_sensor_config* conf);