Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB123 Cape was not detected properly when using Beaglebone Green. #1822

Open
patdelaney opened this issue Mar 16, 2024 · 0 comments
Open

RGB123 Cape was not detected properly when using Beaglebone Green. #1822

patdelaney opened this issue Mar 16, 2024 · 0 comments

Comments

@patdelaney
Copy link
Contributor

Please answer the following:

FPP Version and Hardware:
FPP 7.5 running on BBG

Describe the bug and Steps to reproduce:
In Help -> About -> EEPROM Upgrade
Cape/Hat dropdown is not populating
image
Meanwhile I did some JS-debugging and found the reason for the empty drop-down box. Maybe my results are interesting for you.
In cape-info.php:eepromVendorListChanged you can find the following lines:

if ("platforms" in capeObj) {
var plat = capeObj.platforms;
if (settings["Platform"] == "BeagleBone Black") {
if (!plat.includes(settings["Variant"])) {
valid = false;
}
} else {
if (!plat.includes(settings["Platform"])
&& !plat.includes(settings["Variant"])) {
valid = false;
}
}
}

This line causes the empty list:
if (!plat.includes(settings["Variant"])) {

"plat" is in my case "Beaglebone Black" and "settings['Variant']" is "Beaglebone Green".
Therefore this can't never be true on my installation. I really use a Beaglebone Green, but I
think there is something missing in the check or in the settings loading process.

Thank you very much again and have a nice day.

Best regards

Sven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant