Skip to content

Commit d872751

Browse files
committed
Remove unused internal state enum
1 parent 0dbc260 commit d872751

File tree

1 file changed

+0
-12
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52

1 file changed

+0
-12
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/i2c_api.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,6 @@ typedef enum {
9595
NORDIC_TWI_STATE_BUSY
9696
} nordic_nrf5_twi_state_t;
9797

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-
11098
/* Forward declaration. These functions are implemented in the driver but not
11199
* set up in the NVIC due to it being relocated.
112100
*/

0 commit comments

Comments
 (0)