mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
17b8696261
When storing an opaque pointer value in a uint, the appropriate type is uintptr_t which is guaranteed to be wide enough to hold a pointer. This is particularly important when the code can be compiled in a sim or unit test environment which is intended to run on a 64-bit machine. Conflicts: flight/PiOS/Common/pios_flash_jedec.c flight/targets/DiscoveryF4/System/pios_board.c flight/targets/FlyingF4/System/pios_board.c flight/targets/Freedom/System/pios_board.c flight/targets/Quanton/System/pios_board.c