Mercurial > public > ostc4
diff Discovery/Inc/tMenuEdit.h @ 508:21bf40bb8151
Reimplementation of tMenuEdit_select:
The function was not used in the previous versions. A less complex version was now needed and implemented to enable the selection a a menu line
Reimplemented refresh_livedata function:
To increase code readability the if_ then_else chain has been replaced by a function pointer switch
author | Ideenmodellierer |
---|---|
date | Sun, 30 Aug 2020 17:23:44 +0200 |
parents | 5f11787b4f42 |
children | 531e7818b737 |
line wrap: on
line diff
--- a/Discovery/Inc/tMenuEdit.h Sun Aug 30 17:20:16 2020 +0200 +++ b/Discovery/Inc/tMenuEdit.h Sun Aug 30 17:23:44 2020 +0200 @@ -55,6 +55,7 @@ void resetMenuEdit(uint8_t color); void tMenuEdit_refresh_live_content(void); void tMenuEdit_refresh_field(uint32_t editID); +void tMenuEdit_select(uint32_t editID); void evaluateNewString (uint32_t editID, uint32_t *pNewValue1, uint32_t *pNewValue2, uint32_t *pNewValue3, uint32_t *pNewValue4); void tMenuEdit_newInput (uint32_t editID, uint32_t int1, uint32_t int2, uint32_t int3, uint32_t int4);