OSD rotation option.

This commit is contained in:
sorgelig
2019-10-03 01:37:57 +08:00
parent 08c53f0b68
commit f52d81f7bc
6 changed files with 51 additions and 2 deletions

View File

@@ -862,6 +862,8 @@ void user_io_init(const char *path)
break;
}
OsdRotation((cfg.osd_rotate == 1) ? 3 : (cfg.osd_rotate == 2) ? 1 : 0);
spi_uio_cmd_cont(UIO_GETUARTFLG);
uart_mode = spi_w(0);
DisableIO();