Helvethor / rust-rpi-rgb-led-matrix

Rust bindings for rpi-rgb-led-matrix
GNU General Public License v3.0
2 stars 20 forks source link

Segmentation fault when mapping to adafruit-hat #1

Open sphinxc0re opened 6 years ago

sphinxc0re commented 6 years ago

When I'm trying this:

let mut config = LedMatrixOptions::new();
config.set_hardware_mapping("adafruit-hat");

println!("TOMB1");

let matrix = LedMatrix::new(Some(config));

the code segfaults. this is with the commit https://github.com/hzeller/rpi-rgb-led-matrix/commit/212b0bbccbbd9adacbf0d49b6c0adbaeb7e83422

Helvethor commented 6 years ago

Hello,

I don't have any time to invest in this, sorry.

I you find a solution, I'll happily review your pull request :).

Have a nice day

sphinxc0re commented 6 years ago

Thanks! I already found a solution in my fork. I will polish it up a little and open a pr then

eturzinski commented 5 years ago

@sphinxc0re Are there any news on this?

sphinxc0re commented 5 years ago

Oh, I fixed it in my fork, but never submitted a PR for it

sphinxc0re commented 5 years ago

https://github.com/sphinxc0re/rust-rpi-rgb-led-matrix