diff options
author | Rocco Marco <roccomarco.guglielmi@gmail.com> | 2015-04-12 17:39:52 +0200 |
---|---|---|
committer | Rocco Marco <roccomarco.guglielmi@gmail.com> | 2015-04-12 17:52:11 +0200 |
commit | c845d1fd340f1ce33629dc76ce5134c5dcbf6eb5 (patch) | |
tree | 4e2fb2ad5693b7ec346a6c707b02ff98b0784031 /os/various/devices_lib/lsm303dlhc.c | |
parent | adfa3f75e83bd7b033077cc1b12a3a0a612ce26a (diff) | |
download | ChibiOS-Contrib-c845d1fd340f1ce33629dc76ce5134c5dcbf6eb5.tar.gz ChibiOS-Contrib-c845d1fd340f1ce33629dc76ce5134c5dcbf6eb5.tar.bz2 ChibiOS-Contrib-c845d1fd340f1ce33629dc76ce5134c5dcbf6eb5.zip |
Added email contact
Fixed Bug on chDbgAssert() passing 2 arguments instead of 3
Diffstat (limited to 'os/various/devices_lib/lsm303dlhc.c')
-rw-r--r-- | os/various/devices_lib/lsm303dlhc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/os/various/devices_lib/lsm303dlhc.c b/os/various/devices_lib/lsm303dlhc.c index 7861255..59faa16 100644 --- a/os/various/devices_lib/lsm303dlhc.c +++ b/os/various/devices_lib/lsm303dlhc.c @@ -1,6 +1,6 @@ /* - Pretty LAYer for ChibiOS/RT - Copyright (C) 2014 Rocco Marco Guglielmi - + Pretty LAYer for ChibiOS/RT - Copyright (C) 2015 Rocco Marco Guglielmi + This file is part of PLAY for ChibiOS/RT. PLAY is free software; you can redistribute it and/or modify @@ -22,6 +22,8 @@ friendship. Note that some or every piece of this file could be part of the ChibiOS project that is intellectual property of Giovanni Di Sirio. Please refer to ChibiOS/RT license before use this file. + + For suggestion or Bug report - roccomarco.guglielmi@playembedded.org */ /** @@ -121,7 +123,7 @@ void lsm303dlhcWriteRegister(I2CDriver *i2cp,uint8_t sad, uint8_t sub, /* Reserved register must not be written, according to the datasheet * this could permanently damage the device. */ - chDbgAssert(FALSE, "lsm303dlhcWriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lsm303dlhcWriteRegister(), reserved register"); case LSM303DLHC_SUB_ACC_STATUS_REG: case LSM303DLHC_SUB_ACC_OUT_X_L: case LSM303DLHC_SUB_ACC_OUT_X_H: @@ -172,7 +174,7 @@ void lsm303dlhcWriteRegister(I2CDriver *i2cp,uint8_t sad, uint8_t sub, /* Reserved register must not be written, according to the datasheet * this could permanently damage the device. */ - chDbgAssert(FALSE, "lsm303dlhcWriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lsm303dlhcWriteRegister(), reserved register"); case LSM303DLHC_SUB_COMP_OUT_X_H: case LSM303DLHC_SUB_COMP_OUT_X_L: case LSM303DLHC_SUB_COMP_OUT_Z_H: |