Commit a1e3eaf9 authored by Sergei Golubchik's avatar Sergei Golubchik

fix a duplicate macro definition

parent fe0112e2
...@@ -82,7 +82,6 @@ typedef struct { ...@@ -82,7 +82,6 @@ typedef struct {
my_atomic_storeptr(&(PINS)->pin[PIN], (ADDR)); \ my_atomic_storeptr(&(PINS)->pin[PIN], (ADDR)); \
} while(0) } while(0)
#define lf_unpin(PINS, PIN) lf_pin(PINS, PIN, NULL)
#define lf_unpin(PINS, PIN) lf_pin(PINS, PIN, NULL) #define lf_unpin(PINS, PIN) lf_pin(PINS, PIN, NULL)
#define lf_assert_pin(PINS, PIN) assert((PINS)->pin[PIN] != 0) #define lf_assert_pin(PINS, PIN) assert((PINS)->pin[PIN] != 0)
#define lf_assert_unpin(PINS, PIN) assert((PINS)->pin[PIN] == 0) #define lf_assert_unpin(PINS, PIN) assert((PINS)->pin[PIN] == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment