mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
examples: nxwidget: nxstyle fixes
nxstyle fixes for nxwidget exaples Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
parent
c9eaf0beaa
commit
1697c64994
1 changed files with 2 additions and 2 deletions
|
|
@ -590,7 +590,7 @@ void CWidgetControl::newMouseEvent(FAR const struct nxgl_point_s *pos, uint8_t b
|
|||
#ifdef CONFIG_NX_KBD
|
||||
void CWidgetControl::newKeyboardEvent(uint8_t nCh, FAR const uint8_t *pStr)
|
||||
{
|
||||
FAR uint8_t *pBuffer = &m_kbdbuf[m_nCh];
|
||||
FAR uint8_t *buffer = &m_kbdbuf[m_nCh];
|
||||
|
||||
// Append each new character to keyboard character buffer
|
||||
|
||||
|
|
@ -598,7 +598,7 @@ void CWidgetControl::newKeyboardEvent(uint8_t nCh, FAR const uint8_t *pStr)
|
|||
i < nCh && m_nCh < CONFIG_NXWIDGETS_KBDBUFFER_SIZE;
|
||||
i++, m_nCh++)
|
||||
{
|
||||
*pBuffer++ = *pStr++;
|
||||
*buffer++ = *pStr++;
|
||||
}
|
||||
|
||||
// Notify any external logic that a keyboard event has occurred
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue