defining parameter
Posted: Tue Nov 19, 2019 3:00 pm
Hi Im trying to define parameter in specific file in my firmware like int x=0 in file stabilizer.c
but I want to use that parameter in another file like crtp_commander.c in the same firmware; how can I do that? I succeeded to define that int x=0 as static in stabilizer.c
but how can I use it in another file and it would be already defined ? thanks alot!!!
but I want to use that parameter in another file like crtp_commander.c in the same firmware; how can I do that? I succeeded to define that int x=0 as static in stabilizer.c
but how can I use it in another file and it would be already defined ? thanks alot!!!