18
18
/* Includes ------------------------------------------------------------------*/
19
19
#include " application.h"
20
20
#include < cctype>
21
- #if HAL_PLATFORM_RTL872X
21
+ #if HAL_PLATFORM_RTL872X && ENABLE_FQC_FUNCTIONALITY
22
22
#include " request_handler.h"
23
23
#include " src/burnin_test.h"
24
24
#endif
@@ -128,7 +128,7 @@ void setup()
128
128
Particle.function (" analogread" , tinkerAnalogRead);
129
129
Particle.function (" analogwrite" , tinkerAnalogWrite);
130
130
131
- #if HAL_PLATFORM_RTL872X
131
+ #if HAL_PLATFORM_RTL872X && ENABLE_FQC_FUNCTIONALITY
132
132
BurninTest::instance ()->setup ();
133
133
#endif
134
134
}
@@ -138,7 +138,7 @@ void loop()
138
138
{
139
139
// This will run in a loop
140
140
141
- #if HAL_PLATFORM_RTL872X
141
+ #if HAL_PLATFORM_RTL872X && ENABLE_FQC_FUNCTIONALITY
142
142
BurninTest::instance ()->loop ();
143
143
#endif
144
144
}
@@ -260,7 +260,7 @@ int tinkerAnalogWrite(String command)
260
260
return -1 ;
261
261
}
262
262
263
- #if HAL_PLATFORM_RTL872X
263
+ #if HAL_PLATFORM_RTL872X && ENABLE_FQC_FUNCTIONALITY
264
264
// Tinker app specific USB requests. For P2 these are FQC commands
265
265
void ctrl_request_custom_handler (ctrl_request* req) {
266
266
particle::RequestHandler::instance ()->process (req);
0 commit comments