diff options
author | Ben Fennema <fennema@google.com> | 2017-08-25 12:05:25 -0700 |
---|---|---|
committer | Ben Fennema <fennema@google.com> | 2017-08-25 12:06:24 -0700 |
commit | 1ed78b9048dd92b3cfa04f14e3b8a81e76de1a46 (patch) | |
tree | 6f40d677d6db1b6fd229b66d05ec7bd511ac52f7 | |
parent | 35419d08ee99ad4545bf93997b7c66de17417cc1 (diff) | |
download | contexthub-1ed78b9048dd92b3cfa04f14e3b8a81e76de1a46.tar.gz |
rohm_rpr0521: fix compile error
Bug: 65052919
Test: compile rohm_rpr0521 driver successfully
Change-Id: Idf99749bcf0dbbdb3d7fa17fc36b469fff2df829
Signed-off-by: Ben Fennema <fennema@google.com>
-rw-r--r-- | firmware/os/drivers/rohm_rpr0521/rohm_rpr0521.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/os/drivers/rohm_rpr0521/rohm_rpr0521.c b/firmware/os/drivers/rohm_rpr0521/rohm_rpr0521.c index 3fb6ee89..edb8fb2b 100644 --- a/firmware/os/drivers/rohm_rpr0521/rohm_rpr0521.c +++ b/firmware/os/drivers/rohm_rpr0521/rohm_rpr0521.c @@ -139,6 +139,10 @@ enum { #define ROHM_RPR0521_MAX_PENDING_I2C_REQUESTS 4 #define ROHM_RPR0521_MAX_I2C_TRANSFER_SIZE 16 +#define VERBOSE_PRINT(fmt, ...) do { \ + osLog(LOG_VERBOSE, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \ + } while (0); + #define INFO_PRINT(fmt, ...) do { \ osLog(LOG_INFO, "[Rohm RPR-0521] " fmt, ##__VA_ARGS__); \ } while (0); |