SeeedJP / ReButtonApp

12 stars 17 forks source link

error: 'ThisThread' has not been declared #7

Closed matsujirushi closed 4 years ago

matsujirushi commented 4 years ago
In file included from C:\Users\takashi\Documents\Arduino\libraries\GroveDriverPack\src/HAL/Hal.h:25:0,

                 from C:\Users\takashi\Documents\Arduino\libraries\GroveDriverPack\src/GroveDriverPack.h:5,

                 from c:\users\takashi\appdata\local\temp\arduino_build_756743\sketch\src\azureiot\rebuttonclient2.h:4,

                 from C:\Users\takashi\AppData\Local\Temp\arduino_build_756743\sketch\src\action\ActionConnectedSendMessage.cpp:13:

C:\Users\takashi\Documents\Arduino\libraries\GroveDriverPack\src/HAL/Mbed/HalSystem.h: In static member function 'static void HalSystem::DelayMs(uint32_t)':

C:\Users\takashi\Documents\Arduino\libraries\GroveDriverPack\src/HAL/Mbed/HalSystem.h:12:3: error: 'ThisThread' has not been declared

   ThisThread::sleep_for(milliSeconds);

   ^