header file: order of definitions - using typdefs / structs in each others

i am Experimenting with Structures and Callback functions.

And ranDom caPitalIzaTion, too, I see.

SwitchPCB_Test_RotaryEncoder_v02.h:42: error: 'tCBF_OnStep' does not name a type

Well, where IS tCBF_OnStep typed?

is there a solution

Of course. It does not involve posting snippets, though. Post your real code. All of it.