diff --git a/os/various/devices_lib/l3gd20.c b/os/various/devices_lib/l3gd20.c index 2d93ee82..13238e5f 100644 --- a/os/various/devices_lib/l3gd20.c +++ b/os/various/devices_lib/l3gd20.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 @@ -21,7 +21,9 @@ Special thanks to Giovanni Di Sirio for teachings, his moral support and 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 it. + Please refer to ChibiOS/RT license before use this file. + + For suggestion or Bug report - roccomarco.guglielmi@playembedded.org */ /** @@ -85,7 +87,7 @@ void l3gd20WriteRegister(SPIDriver *spip, uint8_t reg, uint8_t value) { /* Reserved register must not be written, according to the datasheet * this could permanently damage the device. */ - chDbgAssert(FALSE, "lg3d20WriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lg3d20WriteRegister(), reserved register"); case L3GD20_AD_WHO_AM_I: case L3GD20_AD_OUT_TEMP : case L3GD20_AD_STATUS_REG: diff --git a/os/various/devices_lib/l3gd20.h b/os/various/devices_lib/l3gd20.h index 3fc58cb2..f36fee19 100644 --- a/os/various/devices_lib/l3gd20.h +++ b/os/various/devices_lib/l3gd20.h @@ -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 */ /** diff --git a/os/various/devices_lib/lis3mdl.c b/os/various/devices_lib/lis3mdl.c index dba95c3b..12aba532 100644 --- a/os/various/devices_lib/lis3mdl.c +++ b/os/various/devices_lib/lis3mdl.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 */ /** @@ -117,7 +119,7 @@ void lis3mdlWriteRegister(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, "lis3mdlWriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lis3mdlWriteRegister(), reserved register"); case LIS3MDL_SUB_WHO_AM_I: case LIS3MDL_SUB_STATUS_REG: case LIS3MDL_SUB_OUT_X_L: diff --git a/os/various/devices_lib/lis3mdl.h b/os/various/devices_lib/lis3mdl.h index 8ef37ef4..458e5b7b 100644 --- a/os/various/devices_lib/lis3mdl.h +++ b/os/various/devices_lib/lis3mdl.h @@ -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 */ /** diff --git a/os/various/devices_lib/lsm303dlhc.c b/os/various/devices_lib/lsm303dlhc.c index 78612556..59faa16b 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: diff --git a/os/various/devices_lib/lsm303dlhc.h b/os/various/devices_lib/lsm303dlhc.h index 4ea788a4..f96a8905 100644 --- a/os/various/devices_lib/lsm303dlhc.h +++ b/os/various/devices_lib/lsm303dlhc.h @@ -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 */ /** diff --git a/os/various/devices_lib/lsm6ds0.c b/os/various/devices_lib/lsm6ds0.c index 304b3404..6d0c3aeb 100644 --- a/os/various/devices_lib/lsm6ds0.c +++ b/os/various/devices_lib/lsm6ds0.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 */ /** @@ -117,7 +119,7 @@ void lsm6ds0WriteRegister(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, "lsm6ds0WriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lsm6ds0WriteRegister(), reserved register"); case LSM6DS0_SUB_WHO_AM_I: case LSM6DS0_SUB_INT_GEN_SRC_G: case LSM6DS0_SUB_OUT_TEMP_L: diff --git a/os/various/devices_lib/lsm6ds0.h b/os/various/devices_lib/lsm6ds0.h index 9f27e1b8..c32dfcbf 100644 --- a/os/various/devices_lib/lsm6ds0.h +++ b/os/various/devices_lib/lsm6ds0.h @@ -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 */ /** diff --git a/os/various/devices_lib/max7219.c b/os/various/devices_lib/max7219.c index b15699e9..527176ec 100644 --- a/os/various/devices_lib/max7219.c +++ b/os/various/devices_lib/max7219.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 @@ -21,7 +21,9 @@ Special thanks to Giovanni Di Sirio for teachings, his moral support and 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 it. + Please refer to ChibiOS/RT license before use this file. + + For suggestion or Bug report - roccomarco.guglielmi@playembedded.org */ /** diff --git a/os/various/devices_lib/max7219.h b/os/various/devices_lib/max7219.h index 80524be9..8b90260e 100644 --- a/os/various/devices_lib/max7219.h +++ b/os/various/devices_lib/max7219.h @@ -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 */ /** diff --git a/os/various/devices_lib/nrf24l01.c b/os/various/devices_lib/nrf24l01.c index 34d8bff2..31e4513e 100644 --- a/os/various/devices_lib/nrf24l01.c +++ b/os/various/devices_lib/nrf24l01.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 @@ -21,7 +21,9 @@ Special thanks to Giovanni Di Sirio for teachings, his moral support and 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 it. + Please refer to ChibiOS/RT license before use this file. + + For suggestion or Bug report - roccomarco.guglielmi@playembedded.org */ /** @@ -123,7 +125,7 @@ NRF24L01_status_t nrf24l01WriteRegister(SPIDriver *spip, uint8_t reg, /* Reserved register must not be written, according to the datasheet * this could permanently damage the device. */ - chDbgAssert(FALSE, "lg3d20WriteRegister(), #1", "reserved register"); + chDbgAssert(FALSE, "lg3d20WriteRegister(), reserved register"); case NRF24L01_AD_OBSERVE_TX: case NRF24L01_AD_CD: case NRF24L01_AD_RX_ADDR_P0: @@ -182,7 +184,7 @@ NRF24L01_status_t nrf24l01WriteAddress(SPIDriver *spip, uint8_t reg, unsigned i; if(addlen > NRF24L01_MAX_ADD_LENGHT) { - chDbgAssert(FALSE, "nrf24l01WriteAddress(), #1", "wrong address length"); + chDbgAssert(FALSE, "nrf24l01WriteAddress(), wrong address length"); return 0; } txbuf[0] = (NRF24L01_CMD_WRITE | reg); @@ -197,7 +199,7 @@ NRF24L01_status_t nrf24l01WriteAddress(SPIDriver *spip, uint8_t reg, /* Reserved register must not be written, according to the datasheet * this could permanently damage the device. */ - chDbgAssert(FALSE, "nrf24l01WriteAddress(), #1", "reserved register"); + chDbgAssert(FALSE, "nrf24l01WriteAddress(), reserved register"); case NRF24L01_AD_OBSERVE_TX: case NRF24L01_AD_CD: case NRF24L01_AD_CONFIG: diff --git a/os/various/devices_lib/nrf24l01.h b/os/various/devices_lib/nrf24l01.h index 7112b9f9..c56c66f0 100644 --- a/os/various/devices_lib/nrf24l01.h +++ b/os/various/devices_lib/nrf24l01.h @@ -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 */ /**