GfA-buildroot_SetRightDisplayResolution_OnUpdate_add5_7inch_display.patch 416 B

1234567891011121314151617
  1. diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
  2. index 0318ad0915..97d46256b2 100644
  3. --- a/UpdateRootfs.sh.in
  4. +++ b/UpdateRootfs.sh.in
  5. @@ -143,6 +143,12 @@ if [ "$XRES" == "1280" -a "$YRES" == "800" ]; then
  6. DONE=1
  7. fi
  8. +if [ "$XRES" == "640" -a "$YRES" == "480" ]; then
  9. + echo "5.7 Inch"
  10. + sh /root/DisplayTo_5_7inch.sh
  11. + DONE=1
  12. +fi
  13. +
  14. if [ "$DONE" == "0" ]; then
  15. echo "Unknown Display Resolution"
  16. fi