Creating C macro: concatenate string and number

前端 未结 0 1579
长情又很酷
长情又很酷 2021-01-28 14:30

I would like to concatenate a string and an integer (enum) for addressing a port/pin in an embedded system project. Ports are namend:

M1_MS1_GPIO_Port
M2_MS1_GPIO         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题