boards/arduino-nano-33ble{-rev2}: use bool for leds state
This commit is contained in:
parent
417207678e
commit
3350609a8a
4 changed files with 16 additions and 16 deletions
|
@ -48,14 +48,14 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] =
|
|||
GPIO_LED5
|
||||
};
|
||||
|
||||
static const uint32_t g_ledoff[BOARD_NLEDS] =
|
||||
static const bool g_ledoff[BOARD_NLEDS] =
|
||||
{
|
||||
0, 0, 1, 1, 1
|
||||
false, false, true, true, true
|
||||
};
|
||||
|
||||
static const uint32_t g_ledon[BOARD_NLEDS] =
|
||||
static const bool g_ledon[BOARD_NLEDS] =
|
||||
{
|
||||
1, 1, 0, 0, 0
|
||||
true, true, false, false, false
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -62,14 +62,14 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] =
|
|||
GPIO_LED5
|
||||
};
|
||||
|
||||
static const uint32_t g_ledoff[BOARD_NLEDS] =
|
||||
static const bool g_ledoff[BOARD_NLEDS] =
|
||||
{
|
||||
0, 0, 1, 1, 1
|
||||
false, false, true, true, true
|
||||
};
|
||||
|
||||
static const uint32_t g_ledon[BOARD_NLEDS] =
|
||||
static const bool g_ledon[BOARD_NLEDS] =
|
||||
{
|
||||
1, 1, 0, 0, 0
|
||||
true, true, false, false, false
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -48,14 +48,14 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] =
|
|||
GPIO_LED5
|
||||
};
|
||||
|
||||
static const uint32_t g_ledoff[BOARD_NLEDS] =
|
||||
static const bool g_ledoff[BOARD_NLEDS] =
|
||||
{
|
||||
0, 0, 1, 1, 1
|
||||
false, false, true, true, true
|
||||
};
|
||||
|
||||
static const uint32_t g_ledon[BOARD_NLEDS] =
|
||||
static const bool g_ledon[BOARD_NLEDS] =
|
||||
{
|
||||
1, 1, 0, 0, 0
|
||||
true, true, false, false, false
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -62,14 +62,14 @@ static const uint32_t g_ledcfg[BOARD_NLEDS] =
|
|||
GPIO_LED5
|
||||
};
|
||||
|
||||
static const uint32_t g_ledoff[BOARD_NLEDS] =
|
||||
static const bool g_ledoff[BOARD_NLEDS] =
|
||||
{
|
||||
0, 0, 1, 1, 1
|
||||
false, false, true, true, true
|
||||
};
|
||||
|
||||
static const uint32_t g_ledon[BOARD_NLEDS] =
|
||||
static const bool g_ledon[BOARD_NLEDS] =
|
||||
{
|
||||
1, 1, 0, 0, 0
|
||||
true, true, false, false, false
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue