Skip to content

Commit

Permalink
API: fix for autorole flag
Browse files Browse the repository at this point in the history
Autorole flag was wrong and setting this flag
was resulting into a LL + relay (deprecated flag)
  • Loading branch information
GwendalRaoul committed Jun 27, 2019
1 parent aa979ca commit 60343e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/wpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ typedef enum
typedef enum
{
APP_ROLE_OPTION_LL = 0x10, // !< Node is in low latency
APP_ROLE_OPTION_RELAY = 0x20, // !< Node is only a relay
APP_ROLE_OPTION_AUTOROLE = 0x30 // !< Node is autorole
APP_ROLE_OPTION_RELAY = 0x20, // !< Node is only a relay (Deprecated)
APP_ROLE_OPTION_AUTOROLE = 0x80 // !< Node is autorole
} app_role_option_e;

#define APP_ROLE_OPTION_MASK 0xf0
Expand Down

0 comments on commit 60343e0

Please sign in to comment.