main: fix a missing serial port initialization.