lotus: Auto start ADC conversion

Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
Daniel Schaefer 2023-01-07 21:58:51 +08:00
parent b192ff0c3e
commit 50136360e7

View File

@ -424,6 +424,12 @@ void matrix_init_custom(void) {
// For testing enable temp sensor
adcRPEnableTS(&ADCD1);
// Start ADC conversion immediately. Don't wait for factory command to enable
// For debugging it's sometimes useful to start later because the first
// prints won't show on the console. So if it hangs here, it's hard to tell
// what's going wrong.
letsgo = true;
// Start automatic conversion
//chThdSleepMilliseconds(100);
//trigger_adc();