Disable servo when not used

This commit is contained in:
Kwabena W. Agyeman 2021-05-13 13:02:39 -07:00
parent da708dc18e
commit daa99135bc

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();