Move powersOf10 to spi-flash.

This commit is contained in:
HuangRui 2015-02-11 23:07:08 +08:00
parent d49182c1ab
commit b86bb49576
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include "c_types.h"
#include "c_string.h"
#include "user_interface.h"
#include "user_config.h"
// const char *lua_init_value = "print(\"Hello world\")";
const char *lua_init_value = "@init.lua";
@ -57,7 +58,7 @@ const char *c_getenv(const char *__string)
#include <string.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 */
100., /* exponents into floating-point numbers. */