for mid_uart and mid_can debug printf