Skip to content

Commit ca16393

Browse files
committed
bricks/ev3: Temporarily disable floating point.
Make some things easier to compile.
1 parent f112d9f commit ca16393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bricks/ev3/mpconfigport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define PYBRICKS_PY_COMMON_LIGHT_ARRAY (0)
2222
#define PYBRICKS_PY_COMMON_LIGHT_MATRIX (0)
2323
#define PYBRICKS_PY_COMMON_LOGGER (1)
24-
#define PYBRICKS_PY_COMMON_MOTOR_MODEL (1)
24+
#define PYBRICKS_PY_COMMON_MOTOR_MODEL (0)
2525
#define PYBRICKS_PY_COMMON_MOTORS (1)
2626
#define PYBRICKS_PY_COMMON_SPEAKER (1)
2727
#define PYBRICKS_PY_COMMON_SYSTEM (1)
@@ -44,7 +44,7 @@
4444

4545
// Pybricks options
4646
#define PYBRICKS_OPT_COMPILER (1)
47-
#define PYBRICKS_OPT_FLOAT (1)
47+
#define PYBRICKS_OPT_FLOAT (0)
4848
#define PYBRICKS_OPT_TERSE_ERR (0)
4949
#define PYBRICKS_OPT_EXTRA_MOD (1)
5050
#define PYBRICKS_OPT_CUSTOM_IMPORT (1)

0 commit comments

Comments
 (0)