apds9960: Fix reference to i2c driver

Also make the CONF_FILE  variable overridable

Change-Id: I44251cfd66648a665ff04dfcd38e750c24af5734
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-04-26 20:41:22 -04:00 committed by Anas Nashif
commit c6343f5271
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
BOARD ?= arduino_101_sss BOARD ?= arduino_101_sss
KERNEL_TYPE ?= nano KERNEL_TYPE ?= nano
CONF_FILE = prj.conf CONF_FILE ?= prj.conf
include ${ZEPHYR_BASE}/Makefile.inc include ${ZEPHYR_BASE}/Makefile.inc

View file

@ -68,7 +68,7 @@
#define APA102C_BRIGHTNESS 0xE2000000 #define APA102C_BRIGHTNESS 0xE2000000
#define APA102C_BRIGHTNESS_MASK 0xFF000000 #define APA102C_BRIGHTNESS_MASK 0xFF000000
#define I2C_DRV_NAME "I2C0" #define I2C_DRV_NAME "I2C_0"
#define APDS9960_ADDR 0x39 #define APDS9960_ADDR 0x39
union rgbc_t { union rgbc_t {