File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/Wire/src/utility Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,12 +679,12 @@ void I2C2_EV_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));
679
679
void I2C2_EV_IRQHandler (void )
680
680
{
681
681
#if OPT_I2C_SLAVE
682
- // I2C_HandleTypeDef *handle = i2c_handles[I2C2_INDEX]; // MMOLE: was commented
682
+ I2C_HandleTypeDef * handle = i2c_handles [I2C2_INDEX ]; // MMOLE: was commented
683
683
// MMOLE: I2C2_EV_IRQHandler is the event handler, handle is an I2C_HandleTypeDef struct containing parameters and pointer to the registers
684
684
static int _nCounterEV2 = 1 ;
685
685
_nCounterEV2 ++ ;
686
686
i2c_slave_process (get_i2c_obj (handle )); // process I2C transmissions, for now only events, not errors
687
- // MMOLLE : tested only using I2C1
687
+ // MMOLE : tested only using I2C1
688
688
#endif
689
689
}
690
690
You can’t perform that action at this time.
0 commit comments