Fix microcontroller init bug