Hey so I have this class function that I call from several places. Inside the function I'm calling rt_printf() for debugging/logging. If I then want to call the function from the classes' constructor the program will segfault when it starts. The class is a global object somewhere so its constructor is run when the program starts.
At what point is it safe to call rt_printf? It seems to me no earlier than setup()? Can I check somewhere if calling rt_printf is safe?