mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
fix(atxxxx): enable the display without forcing PAL (#29889)
enable_screen() ORed 0x48 into VM0, which set the PAL bit whatever OSD_ATXXXX_CFG said, so NTSC was never selected. init_osd() already sets the PAL bit when the parameter asks for it.
This commit is contained in:
1 parent
bce8453e5b
commit
4395d0bc23
1 file changed
+1
-1
@@ -324,7 +324,7 @@ OSDatxxxx::enable_screen()
|
||||
int ret = PX4_OK;
|
||||
|
||||
ret |= readRegister(0x00, &data, 1);
|
||||
ret |= writeRegister(0x00, data | 0x48);
|
||||
ret |= writeRegister(0x00, data | 0x08);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user