Skip to content

Commit

Permalink
AP_Math: move definition of HAL_WITH_POSTYPE_DOUBLE into AP_HAL_Boards.h
Browse files Browse the repository at this point in the history
other libraries need to know if we are doing double-precision offsets
  • Loading branch information
peterbarker committed Jun 11, 2024
1 parent d70f5b9 commit 0fc6fc4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_Math/control.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#include "vector2.h"
#include "vector3.h"

#ifndef HAL_WITH_POSTYPE_DOUBLE
#define HAL_WITH_POSTYPE_DOUBLE BOARD_FLASH_SIZE > 1024
#endif

#if HAL_WITH_POSTYPE_DOUBLE
typedef double postype_t;
typedef Vector2d Vector2p;
Expand Down

0 comments on commit 0fc6fc4

Please sign in to comment.