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 0dbc260 commit d872751Copy full SHA for d872751
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/i2c_api.c
@@ -95,18 +95,6 @@ typedef enum {
95
NORDIC_TWI_STATE_BUSY
96
} nordic_nrf5_twi_state_t;
97
98
-#if DEVICE_I2CSLAVE
99
-
100
-/* To properly uninitialize the last-used driver, we need to know if
101
- * it was a master (nrfx_twi_...) or a slave (nrfx_twis_...)
102
- */
103
-typedef enum {
104
- NORDIC_TWI_INITIALIZED_AS_MASTER,
105
- NORDIC_TWI_INITIALIZED_AS_SLAVE,
106
- NORDIC_TWI_UNINITIALIZED
107
-} nordic_nrf5_twi_slave_state_t;
108
-#endif
109
110
/* Forward declaration. These functions are implemented in the driver but not
111
* set up in the NVIC due to it being relocated.
112
*/
0 commit comments