Use IRQ for all I2C Writes

This commit is contained in:
Ben V. Brown
2025-02-22 13:31:27 +11:00
parent 5c7cfe2e19
commit 786a0a41e5
3 changed files with 50 additions and 48 deletions

View File

@@ -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);
}