File tree 1 file changed +5
-25
lines changed
1 file changed +5
-25
lines changed Original file line number Diff line number Diff line change 118
118
#include < Arduino.h>
119
119
#include < libmaple/nvic.h>
120
120
121
- size_t BlynkFreeRam ()
122
- {
123
- return 0 ;
124
- }
125
-
126
121
void BlynkReset ()
127
122
{
128
123
nvic_sys_reset ();
129
124
for (;;) {}
130
125
}
131
126
127
+ #define _BLYNK_USE_DEFAULT_FREE_RAM
132
128
#define _BLYNK_USE_DEFAULT_MILLIS
133
129
#define _BLYNK_USE_DEFAULT_DELAY
134
130
135
131
#elif defined (PARTICLE) || defined(SPARK)
136
132
137
133
#include " application.h"
138
134
139
- size_t BlynkFreeRam ()
140
- {
141
- return 0 ;
142
- }
143
-
144
135
void BlynkReset ()
145
136
{
146
137
System.reset ();
147
138
for (;;) {} // To make compiler happy
148
139
}
149
140
150
- #define _BLYNK_USE_DEFAULT_MILLIS
151
- #define _BLYNK_USE_DEFAULT_DELAY
152
-
153
- #elif defined(ENERGIA)
154
-
155
141
#define _BLYNK_USE_DEFAULT_FREE_RAM
156
- #define _BLYNK_USE_DEFAULT_RESET
157
142
#define _BLYNK_USE_DEFAULT_MILLIS
158
143
#define _BLYNK_USE_DEFAULT_DELAY
159
144
242
227
#warning "Need to implement board-specific utilities"
243
228
#endif
244
229
245
- size_t BlynkFreeRam ()
246
- {
247
- return 0 ;
248
- }
249
-
250
- void BlynkReset ()
251
- {
252
- for (;;) {} // To make compiler happy
253
- }
230
+ #define _BLYNK_USE_DEFAULT_FREE_RAM
231
+ #define _BLYNK_USE_DEFAULT_RESET
232
+ #define _BLYNK_USE_DEFAULT_MILLIS
233
+ #define _BLYNK_USE_DEFAULT_DELAY
254
234
255
235
#endif
256
236
You can’t perform that action at this time.
0 commit comments