mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
7f0ee3d8e2
The last time those changed, we forgot to update serial_ftdi. In that change set_latency had been removed from libdivecomputer and poll and ioctl had been added. This caused the callbacks to no longer be aligned correctly and the functions were called with the wrong arguments through the wrong function pointers, leading to crashes. Instead of the fragile assumptions about order and type of function pointers, use named initializers. And while we are at it, fix that for the bluetooth implementation as well. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
362 B
362 B
core: fix crashes when using user space FTDI driver mobile: add information about the cloud sync state to the Subsurface plate in the menu
- Always add new entries at the very top of this file above other existing entries and this note.
- Use this layout for new entries:
[Area]: [Details about the change] [reference thread / issue]