Skip to content
Commit e8958dbf authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

batman-adv: Use enums for related constants



CodingStyle "Chapter 12: Macros, Enums and RTL" recommends to use enums
for several related constants. Internal states can be used without
defining the actual value, but all values which are visible to the
outside must be defined as before. Normal values are assigned as usual
and flags are defined by shifts of a bit.

Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent 3d222bba
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