
tmotor variable in struct
Hi, I am trying to put a tmotor variable in a function like bellow.
When I run this I get this error:
I don't understand why, and it would be appreciated if any of you could tell me why and how I can fix it.
P.S. Yes I did test it with a main task.