Fix error when RS232 not enabled