Commit 22c39f58 authored by deroo's avatar deroo
Browse files

declare puts pointer to non-functional address

parent 593da0cd
......@@ -8,10 +8,12 @@
// global arrays
double doubleArrayInRAM[SZ_ARRAY];
double *doubleArrayInFlash;
NANO33BLE_DECLARE(double,doubleArrayInFlash);
//double *doubleArrayInFlash;
//double arrayInFlash[SZ_ARRAY]; // this form of declaration cannot be reassigned to flash
int intArrayInRAM[SZ_ARRAY];
int *intArrayInFlash;
NANO33BLE_DECLARE(int,intArrayInFlash);
//int *intArrayInFlash;
// global variables
double slope=2.,intercept=1.;
......
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