mirror of
https://github.com/akatrevorjay/edid-generator.git
synced 2026-01-15 23:50:28 +01:00
mrclean
This commit is contained in:
@@ -59,10 +59,9 @@ template-S() {
|
|||||||
|
|
||||||
case $ratio in
|
case $ratio in
|
||||||
compute)
|
compute)
|
||||||
# 16:9 is the default here if it can't find one that matches nicely.
|
ratio=$(find-supported-ratio $hdisp $vdisp 'UNKNOWN')
|
||||||
ratio=$(find-supported-ratio $hdisp $vdisp 'ERROR')
|
|
||||||
printf 'Computed ratio: %s' $ratio
|
printf 'Computed ratio: %s' $ratio
|
||||||
[[ $ratio != 'ERROR' ]] || return 1
|
[[ $ratio != 'UNKNOWN' ]] || return 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user