Waits the default DELAY_US to allow line state to stabilize. */
| 53 | |
| 54 | /* Waits the default DELAY_US to allow line state to stabilize. */ |
| 55 | static void wait(unsigned int bus) |
| 56 | { |
| 57 | __wait(bus, DELAY_US, 0); |
| 58 | } |
| 59 | |
| 60 | /* Waits until SCL goes high. Prints a contextual error message on timeout. */ |
| 61 | static int wait_for_scl(unsigned int bus, const char *error_context) |
no test coverage detected