update platform
This commit is contained in:
@@ -16,7 +16,7 @@ debug_tool = stlink
|
|||||||
lib_ldf_mode = deep+
|
lib_ldf_mode = deep+
|
||||||
|
|
||||||
[env:LedBoardV11]
|
[env:LedBoardV11]
|
||||||
board = STM32L031K6
|
board = nucleo_l031K6
|
||||||
build_flags =
|
build_flags =
|
||||||
-DHARDWAREVERSION=11
|
-DHARDWAREVERSION=11
|
||||||
|
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ uint8_t buttonPressedCount(void)
|
|||||||
uint8_t count = 0;
|
uint8_t count = 0;
|
||||||
for (auto &&button : buttonlist)
|
for (auto &&button : buttonlist)
|
||||||
{
|
{
|
||||||
if (!button == NULL)
|
if (button != NULL)
|
||||||
{
|
{
|
||||||
if (button->isPressed())
|
if (button->isPressed())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user