Update Setup.cpp

This commit is contained in:
Ben V. Brown
2022-07-18 19:59:48 +10:00
parent a1a569a28a
commit a68779307d

View File

@@ -37,7 +37,7 @@ void hardware_init() {
setup_timer_scheduler(); setup_timer_scheduler();
setup_adc(); setup_adc();
setup_pwm(); setup_pwm();
I2C_ClockSet(I2C0_ID, 300000); // Sets clock to around 275kHz I2C_ClockSet(I2C0_ID, 200000); // Sets clock to around 175kHz
TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_1, 0); TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_1, 0);
} }
void setup_pwm(void) { void setup_pwm(void) {