mirror of
https://github.com/eddyem/STM8_samples.git
synced 2025-12-06 10:45:12 +03:00
5 lines
140 B
C
5 lines
140 B
C
// macro for using in port constructions like PORT(LED_PORT, ODR) = xx
|
|
#define CONCAT(a,b) a##_##b
|
|
#define PORT(a,b) CONCAT(a,b)
|
|
|