Merge pull request #1315 from kwagyeman/kwabena/disable_servo

Disable servo when not used
This commit is contained in:
Ibrahim Abd Elkader 2021-05-13 22:57:10 +02:00 committed by GitHub
commit 3814f8cebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,9 @@ soft_reset:
#ifdef IMLIB_ENABLE_IMAGE_FILE_IO
file_buffer_init0();
#endif
#if MICROPY_HW_ENABLE_SERVO
servo_init();
#endif
usbdbg_init();
#if MICROPY_HW_ENABLE_SDCARD
sdcard_init();