Skip to content

Commit 60343e0

Browse files
committed
API: fix for autorole flag
Autorole flag was wrong and setting this flag was resulting into a LL + relay (deprecated flag)
1 parent aa979ca commit 60343e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/api/wpc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ typedef enum
5353
typedef enum
5454
{
5555
APP_ROLE_OPTION_LL = 0x10, // !< Node is in low latency
56-
APP_ROLE_OPTION_RELAY = 0x20, // !< Node is only a relay
57-
APP_ROLE_OPTION_AUTOROLE = 0x30 // !< Node is autorole
56+
APP_ROLE_OPTION_RELAY = 0x20, // !< Node is only a relay (Deprecated)
57+
APP_ROLE_OPTION_AUTOROLE = 0x80 // !< Node is autorole
5858
} app_role_option_e;
5959

6060
#define APP_ROLE_OPTION_MASK 0xf0

0 commit comments

Comments
 (0)