diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-11 13:12:36 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-11 13:12:36 -0600 |
commit | 26e96520aca15d1783375672cf8e086343354554 (patch) | |
tree | 505411bf17e8a76af3b93a6c452e25d57731a5b8 /apps/interpreters/micropython | |
parent | 9d2fd219a7ab48045ee8a7936225551680ed6c99 (diff) | |
download | nuttx-26e96520aca15d1783375672cf8e086343354554.tar.gz nuttx-26e96520aca15d1783375672cf8e086343354554.tar.bz2 nuttx-26e96520aca15d1783375672cf8e086343354554.zip |
Micro Python: Now compiles without errors (but lots of warnings)
Diffstat (limited to 'apps/interpreters/micropython')
-rw-r--r-- | apps/interpreters/micropython/micropython_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/interpreters/micropython/micropython_main.c b/apps/interpreters/micropython/micropython_main.c index a36bc0528..d66402527 100644 --- a/apps/interpreters/micropython/micropython_main.c +++ b/apps/interpreters/micropython/micropython_main.c @@ -187,7 +187,7 @@ float truncf(float x) return x; } - FORCE_EVAL(x + 0x1 p120f); + FORCE_EVAL(x + 0x1p120f); u.i &= ~m; return u.f; } |