PITFT Adding FBCP support...
Installing cmake...
Downloading rpi-fbcp...
Uncompressing rpi-fbcp...
Building rpi-fbcp...
Installing rpi-fbcp...
Remove fbcp from /etc/rc.local, if it's there...
We have systemd, so install fbcp systemd unit...
Configuring boot/config.txt for forced HDMI
Traceback (most recent call last):
File "adafruit-pitft.py", line 699, in <module>
main()
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "adafruit-pitft.py", line 684, in main
if not install_fbcp():
File "adafruit-pitft.py", line 431, in install_fbcp
default_orientation = int(list(fbcp_rotations.keys())[list(fbcp_rotations.values()).index("0")])
UnboundLocalError: local variable 'fbcp_rotations' referenced before assignment
A git blame of the line in question (431) shows changes to this line were made recently: 290ea02e246664c0e324e79af1f08d2b2f1e6306.
@makermelissa Reverting your changes resolves the issues above. Can you take a look at this?
Repro Steps:
Error:
A git blame of the line in question (431) shows changes to this line were made recently: 290ea02e246664c0e324e79af1f08d2b2f1e6306.
@makermelissa Reverting your changes resolves the issues above. Can you take a look at this?