HAL_ChibiOS: disable i2c device debug code

This commit is contained in:
Andrew Tridgell 2018-05-30 15:18:29 +10:00
parent 11b327e336
commit 4d4ea894e8
1 changed files with 2 additions and 0 deletions

View File

@ -151,8 +151,10 @@ I2CDevice::I2CDevice(uint8_t busnum, uint8_t address, uint32_t bus_clock, bool u
I2CDevice::~I2CDevice()
{
#if 0
printf("I2C device bus %u address 0x%02x closed\n",
(unsigned)bus.busnum, (unsigned)_address);
#endif
free(pname);
}