AP_Math: move definition of HAL_WITH_POSTYPE_DOUBLE into AP_HAL_Boards.h

other libraries need to know if we are doing double-precision offsets
This commit is contained in:
Peter Barker 2024-06-06 17:09:20 +10:00 committed by Peter Barker
parent d70f5b92e0
commit 0fc6fc4e9c
1 changed files with 0 additions and 4 deletions

View File

@ -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;