samples: mesh: nrf52: corrected conditional compilation
Corrected conditional compilation directives defined in publisher.c Signed-off-by: Vikrant More <vikrant8051@gmail.com>
This commit is contained in:
parent
c805beeaaa
commit
6858cb417d
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
static bool is_randomization_of_TIDs_done;
|
||||
|
||||
#if defined(ONOFF)
|
||||
#if (defined(ONOFF) || defined(ONOFF_TT))
|
||||
static u8_t tid_onoff;
|
||||
#elif defined(VND_MODEL_TEST)
|
||||
static u8_t tid_vnd;
|
||||
|
@ -28,7 +28,7 @@ static u8_t tid_level;
|
|||
|
||||
void randomize_publishers_TID(void)
|
||||
{
|
||||
#if defined(ONOFF)
|
||||
#if (defined(ONOFF) || defined(ONOFF_TT))
|
||||
bt_rand(&tid_onoff, sizeof(tid_onoff));
|
||||
#elif defined(VND_MODEL_TEST)
|
||||
bt_rand(&tid_vnd, sizeof(tid_vnd));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue