Add _ to the beginning of all debug macros to avoid name collisions

This commit is contained in:
Gregory Nutt
2016-06-16 12:33:32 -06:00
parent fdaf3d7268
commit 0c8c7fecf0
252 changed files with 1348 additions and 1374 deletions
+2 -2
View File
@@ -696,7 +696,7 @@ static int ov2640_putreg(FAR struct i2c_master_s *i2c, uint8_t regaddr,
int ret;
#ifdef CONFIG_OV2640_REGDEBUG
err("%02x <- %02x\n", regaddr, regval);
_err("%02x <- %02x\n", regaddr, regval);
#endif
/* Set up for the transfer */
@@ -771,7 +771,7 @@ static uint8_t ov2640_getreg(FAR struct i2c_master_s *i2c, uint8_t regaddr)
#ifdef CONFIG_OV2640_REGDEBUG
else
{
err("%02x -> %02x\n", regaddr, regval);
_err("%02x -> %02x\n", regaddr, regval);
}
#endif