iPod Classic: i2c updates

Change-Id: Ib516f3f52cf619fb44dc1bb6982b635c49f53a8f
This commit is contained in:
Cástor Muñoz 2016-05-25 23:54:24 +02:00
parent 2d850b7c66
commit 9e284c11b1
3 changed files with 49 additions and 20 deletions

View file

@ -133,6 +133,9 @@ bool dbg_hw_info(void)
_DEBUG_PRINTF("accessory present: %s",
pmu_accessory_present() ? "true" : "false");
#endif
extern unsigned long i2c_rd_err, i2c_wr_err;
line++;
_DEBUG_PRINTF("i2c rd/wr errors:: %lu/%lu", i2c_rd_err, i2c_wr_err);
}
#ifdef UC870X_DEBUG
else if(state==2)