mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Use IRQ for all I2C Writes
This commit is contained in:
@@ -69,7 +69,6 @@ void hardware_init() {
|
||||
// 200kHz and above works
|
||||
|
||||
I2C_ClockSet(I2C0_ID, 300000); // Sets clock to around 25 kHz less than set here
|
||||
CPU_Interrupt_Enable(I2C_IRQn);
|
||||
|
||||
TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user