Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThingerTinyGSM.h does not compile with FreeRTOS #50

Open
georgevbsantiago opened this issue Mar 2, 2024 · 2 comments
Open

ThingerTinyGSM.h does not compile with FreeRTOS #50

georgevbsantiago opened this issue Mar 2, 2024 · 2 comments

Comments

@georgevbsantiago
Copy link

georgevbsantiago commented Mar 2, 2024

Olá, @alvarolb

The ThingerTinyGSM.h file needs to be fixed so that it can compile with FreeRTOS.
The correction proposal below is correct:

Here (link)

class ThingerTinyGSM : public ThingerClient

#ifdef THINGER_FREE_RTOS
,public ThingerESP32FreeRTOS
#endif

{

public:
    ThingerTinyGSM(const char* user, const char* device, const char* device_credential, Stream& serial) :
        ThingerClient(client_, user, device, device_credential),
        #ifdef THINGER_FREE_RTOS
        ThingerESP32FreeRTOS(static_cast<ThingerClient&>(*this)),
        #endif
        modem_(serial),
        client_(modem_)
    {
@georgevbsantiago
Copy link
Author

Hello, @alvarolb

Taking advantage of the library update, could you check this suggested correction?

@georgevbsantiago
Copy link
Author

Hello, @alvarolb

Any news on this fix?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant