Fix buttons
This commit is contained in:
parent
6db74c2242
commit
555a114ae5
|
@ -24,6 +24,9 @@
|
||||||
|
|
||||||
/* USER CODE BEGIN TouchGFXHAL.cpp */
|
/* USER CODE BEGIN TouchGFXHAL.cpp */
|
||||||
|
|
||||||
|
#include "STWButtonController.hpp"
|
||||||
|
STWButtonController stwBC;
|
||||||
|
|
||||||
using namespace touchgfx;
|
using namespace touchgfx;
|
||||||
|
|
||||||
void TouchGFXHAL::initialize()
|
void TouchGFXHAL::initialize()
|
||||||
|
@ -35,6 +38,7 @@ void TouchGFXHAL::initialize()
|
||||||
// Please note, HAL::initialize() must be called to initialize the framework.
|
// Please note, HAL::initialize() must be called to initialize the framework.
|
||||||
|
|
||||||
TouchGFXGeneratedHAL::initialize();
|
TouchGFXGeneratedHAL::initialize();
|
||||||
|
setButtonController(&stwBC);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue