RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
570 stars 209 forks source link

Correct D6 menu item for Pi 4 #180

Closed ghost closed 2 years ago

ghost commented 2 years ago

D6 is the composite menu item, however on Pi 4 it links to a sub-menu which also contains an option to enable 4Kp60: rewrite menu to support this. This is the most compact code I could come up with: there may be a better way.

I've included a few comments to aid future maintainers, since the use of the positional array is somewhat opaque - happy to remove.

ghost commented 2 years ago

Bump.

Note that the reason I filed this PR is that someone complained on the forums about not being able to find the enable_4kp60 option in raspi-config, so had to go hunting through every menu to find it: it's not just me being a pedant.

ghost commented 2 years ago

Apologies - I've got another PR in the works, and because I've created this PR on the master branch of my repo, I'm going to have to close this PR, recreate my repo from this one, then create two new branches in my repo - one for each PR. I will therefore need to close this PR and create a new version of it once I've got my repo sorted out. Apologies for my lack of git skills.