Skip to content
Snippets Groups Projects
Commit dc9f7698 authored by Yonezawa-T2's avatar Yonezawa-T2
Browse files

NEEDS SQUASHING i2c: revert partially

parent 1ce140d9
No related branches found
No related tags found
No related merge requests found
...@@ -188,9 +188,7 @@ static uint_fast8_t i2c_ctrl_blocking(uint_fast8_t flags) ...@@ -188,9 +188,7 @@ static uint_fast8_t i2c_ctrl_blocking(uint_fast8_t flags)
if (I2CM_STAT & BUSY) { if (I2CM_STAT & BUSY) {
/* If the controller is still busy, it probably will be forever */ /* If the controller is still busy, it probably will be forever */
#ifdef MODULE_XTIMER
DEBUG("Master is still BUSY after %u usec. Resetting.\n", xtimer_timeout); DEBUG("Master is still BUSY after %u usec. Resetting.\n", xtimer_timeout);
#endif
cc2538_i2c_init_master(speed_hz); cc2538_i2c_init_master(speed_hz);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment