Skip to content

Commit

Permalink
main: reduce delays
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Oct 20, 2024
1 parent d081fe1 commit fe72a90
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ __attribute__((__used__)) int main() {
motor_set_all(MOTOR_OFF);

// wait for devices to wake up
time_delay_ms(300);
time_delay_ms(100);
osd_init();
rx_spektrum_bind();

Expand All @@ -113,14 +113,11 @@ __attribute__((__used__)) int main() {
sixaxis_init();

// give the gyro some time to settle
time_delay_ms(100);
time_delay_ms(50);

// display bootlogo while calibrating
sixaxis_gyro_cal();

// wait for adc and vtx to wake up
time_delay_ms(100);

adc_init();
vbat_init();

Expand Down

0 comments on commit fe72a90

Please sign in to comment.