From c980ad6e06de18008e6617d7cdb452e44da8db97 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Thu, 15 Sep 2016 05:14:32 +0200 Subject: [PATCH] small cosmetic fixes --- extdrv/veml6070_uv_sensor.c | 2 +- include/extdrv/veml6070_uv_sensor.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.43.0