Move powersOf10 to spi-flash.
This commit is contained in:
parent
d49182c1ab
commit
b86bb49576
|
@ -3,6 +3,7 @@
|
||||||
#include "c_types.h"
|
#include "c_types.h"
|
||||||
#include "c_string.h"
|
#include "c_string.h"
|
||||||
#include "user_interface.h"
|
#include "user_interface.h"
|
||||||
|
#include "user_config.h"
|
||||||
|
|
||||||
// const char *lua_init_value = "print(\"Hello world\")";
|
// const char *lua_init_value = "print(\"Hello world\")";
|
||||||
const char *lua_init_value = "@init.lua";
|
const char *lua_init_value = "@init.lua";
|
||||||
|
@ -57,7 +58,7 @@ const char *c_getenv(const char *__string)
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
//#include "mprec.h"
|
//#include "mprec.h"
|
||||||
|
|
||||||
double powersOf10[] = /* Table giving binary powers of 10. Entry */
|
double powersOf10[] ICACHE_STORE_ATTR ICACHE_RODATA_ATTR = /* Table giving binary powers of 10. Entry */
|
||||||
{
|
{
|
||||||
10., /* is 10^2^i. Used to convert decimal */
|
10., /* is 10^2^i. Used to convert decimal */
|
||||||
100., /* exponents into floating-point numbers. */
|
100., /* exponents into floating-point numbers. */
|
||||||
|
|
Loading…
Reference in New Issue