Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment