kopia lustrzana https://github.com/hoglet67/RGBtoHDMI
Update Pi zero2W warning message
rodzic
cf2477ea7a
commit
dac13f6c1f
|
@ -3299,7 +3299,7 @@ void rgb_to_hdmi_main() {
|
|||
}
|
||||
|
||||
#if defined(WARN_12BIT)
|
||||
if (powerup || ((capinfo->sample_width >= SAMPLE_WIDTH_9LO) && !osd_active())) {
|
||||
if (powerup || (capinfo->sample_width >= SAMPLE_WIDTH_9LO && capinfo->bpp >= 16 && !osd_active())) {
|
||||
#else
|
||||
if (powerup) {
|
||||
#endif
|
||||
|
@ -3319,7 +3319,7 @@ void rgb_to_hdmi_main() {
|
|||
osd_set(0, ATTR_DOUBLE_SIZE, osdline);
|
||||
osd_display_interface(2);
|
||||
#if defined(WARN_12BIT)
|
||||
if(capinfo->sample_width >= SAMPLE_WIDTH_9LO) {
|
||||
if(capinfo->sample_width >= SAMPLE_WIDTH_9LO && capinfo->bpp >= 16) {
|
||||
osd_set(2 + 4, 0, "9BPP & 12BPP NOT SUPPORTED on Pi Zero 2W");
|
||||
osd_set(2 + 5, 0, "Please use a Pi Zero or Pi Zero W");
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue