diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-04-26 12:47:24 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-04-26 12:47:24 +0100 |
| commit | a63542387d1689f05bb102eef83baa2235e6d1e6 (patch) | |
| tree | 8abe00a088acc0c19853840450072e2d7c3ee762 /extmod/modlwip.c | |
| parent | 90b2cfe644339d2c869900dd2d3373071eef0a5f (diff) | |
extmod, stmhal: Fix typo of macro that detects if float is enabled.
Diffstat (limited to 'extmod/modlwip.c')
| -rw-r--r-- | extmod/modlwip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c index 4924130cc..9502018a5 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -966,7 +966,7 @@ STATIC mp_obj_t lwip_socket_settimeout(mp_obj_t self_in, mp_obj_t timeout_in) { if (timeout_in == mp_const_none) { timeout = -1; } else { - #if MICROPY_PY_BUILTIN_FLOAT + #if MICROPY_PY_BUILTINS_FLOAT timeout = 1000 * mp_obj_get_float(timeout_in); #else timeout = 1000 * mp_obj_get_int(timeout_in); |
