Go Down

Topic: Global, public constants [solved] (Read 1 time) previous topic - next topic

leonelpepe


Quote
I solved it using malloc:

With a call to free(a); in the destructor, right?


Yes and no...

This library is declared during load. And is not destructed at any time. But, I should add the free(a), just in case.

Thanks.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy