Skip to content

Commit f0409f6

Browse files
committed
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
1 parent 4242edd commit f0409f6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libraries/AP_Math/control.h

-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#include "vector2.h"
55
#include "vector3.h"
66

7-
#ifndef HAL_WITH_POSTYPE_DOUBLE
8-
#define HAL_WITH_POSTYPE_DOUBLE BOARD_FLASH_SIZE > 1024
9-
#endif
10-
117
#if HAL_WITH_POSTYPE_DOUBLE
128
typedef double postype_t;
139
typedef Vector2d Vector2p;

0 commit comments

Comments
 (0)