Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use enum instead of const for float consts with repr C (#591)
Older compilers (eg for esp8266) cannot see that "const uint32_t" is a true constant at compile time, so use an assigned enum instead. Don't do this for object representation D because that requires a 64-bit integer. Signed-off-by: Damien George <damien@micropython.org>
- Loading branch information