We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5326d7 commit 9160e87Copy full SHA for 9160e87
ports/nrf/common-hal/busio/I2C.c
@@ -105,7 +105,7 @@ static uint8_t twi_error_to_mp(const nrfx_err_t err) {
105
106
static void twim_event_handler(nrfx_twim_evt_t const *p_event, void *p_context) {
107
// this is the callback handler - sets transferring to false and records the most recent event.
108
- twim_peripheral_t *peripheral = (twim_peripheral_t *) p_context;
+ twim_peripheral_t *peripheral = (twim_peripheral_t *)p_context;
109
peripheral->last_event_type = p_event->type;
110
peripheral->transferring = false;
111
}
0 commit comments