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

i2cBusMaster option being overridden #235

Open
kekopop opened this issue May 21, 2022 · 0 comments
Open

i2cBusMaster option being overridden #235

kekopop opened this issue May 21, 2022 · 0 comments

Comments

@kekopop
Copy link

kekopop commented May 21, 2022

Trying to hack Pi1541 to work with an old RPi1B rev2, SSD1306 screen on i2c1, and the simple "Option A" cable.

Noticed that in options.cpp, line 327, the variable i2cBusMaster is set to 0 if the options.txt parameter SplitIECLines is set to 0, effectively overriding the i2cBusMaster setting from options.txt.

Worked around it by simply commenting out line 327.

I'm no programmer, can't say if my workaround is the right way to do it. Leaving it to someone with the right knowhow to commit a proper fix if desired.

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