After debugging and reading up on GPIO_* I realized that we're
unintentionally using GPOI_OUT_ADDRESS here (intended for writing to
pins), and just changed that to GPIO_IN_ADDRESS.
I think this has been here from the start, couldn't find any change
where this line was touched at least, so I guess it hasn't ever worked,
but now it works somehow at least. I still get pretty frequent crashes
after/during captures, but now it's at least (barely) usable.
After debugging and reading up on
GPIO_*
I realized that we're unintentionally usingGPOI_OUT_ADDRESS
here (intended for writing to pins), and just changed that toGPIO_IN_ADDRESS
.I think this has been here from the start, couldn't find any change where this line was touched at least, so I guess it hasn't ever worked, but now it works somehow at least. I still get pretty frequent crashes after/during captures, but now it's at least (barely) usable.
Should fix #10