esp-wifi icon indicating copy to clipboard operation
esp-wifi copied to clipboard

Signed bitfields are broken in `rust-bindgen`

Open ProfFan opened this issue 1 year ago • 0 comments

See https://github.com/rust-lang/rust-bindgen/issues/1160

I discovered this issue in wifi_pkt_rx_ctrl_t, but same problems could be in other places as well.

Appearance of the bug: all negative values such as the RSSI are instead shown as 2's complement (-xx to 2xx)

ProfFan avatar Oct 16 '24 18:10 ProfFan