mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
967bb9bb9c
The COM layer now uses 32bit device ids rather than 8bit. All code that stores these ids must now use uint32_t to hold them. Since these 32bit numbers are really just opaque pointers, it is (reasonably) safe to assume that they won't be 0. The logic around tracking the *_previous_com_port could probably be cleaned up to remove that assumption. Missed this fixup in the recent hwinit changes. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2776 ebee16cc-31ac-478f-84a7-5cbb03baadba |
||
---|---|---|
.. | ||
api_comms.c | ||
api_comms.h |