Commit b86bb495 authored by HuangRui's avatar HuangRui
Browse files

Move powersOf10 to spi-flash.

parent d49182c1
...@@ -3,6 +3,7 @@ ...@@ -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) ...@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment