servo_micro: add delay after setting usbpd_uart_routing

Servo init tries to use the cr50 console immediately after setting
usbpd_uart_routing to glados. It doesn't wait long enough for the
console to start working. This change adds a delay in the set function
so the dut-control command will wait long enough for the console to
become functional before returning.

TEST=start servo with cr50 uart. Make sure cr50_version prints ok. Run
'dut-control usbpd_uart_routing:off sleep:1 usbpd_uart_routing:glados
cr50_version' verify cr50_version doesn't timeout

Change-Id: I1f5abf512c16025a56e3acc324a41b662c500b45
Signed-off-by: Mary Ruthven <>
Commit-Ready: Mary Ruthven <>
Tested-by: Mary Ruthven <>
Reviewed-by: Nick Sanders <>
1 file changed