Oliver,
The ##s puzzled me when I first saw them a few years back; I did not know that this form of macro substitution existed,
They are used to reduce repetition of blocks of code in the C source code.
MPLAB-X (mine is at version 5.3) will show you the complete macro expansion (after processing all macros including ##s).
This is useful to confirm that the Macros are doing what you hope !
While in radioIn.c, place your cursor over a macro and right click to select "Navigate" / "View Macro Expansion".
(see screenshot enclosed). This will then open a new window showing the whole of radioIn.c with all macros expanded.
I enclose a second screenshot, with the macros expanded for my setup of MatrixPilot for HILSIM with a model easystar.
I hope that helps.
Best wishes, Pete