STM3240G-EVAL: Add kernel build mode support and an NxWM kernel mode configuration
This commit is contained in:
parent
c0e26ad24c
commit
bd7cb3d58a
@ -36,7 +36,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -76,7 +76,7 @@ CNxServer::CNxServer(void)
|
|||||||
{
|
{
|
||||||
// Initialize server instance state data
|
// Initialize server instance state data
|
||||||
|
|
||||||
m_hDevice = (FAR NX_DRIVERTYPE *)NULL; // LCD/Framebuffer device handle
|
m_hDevice = (FAR NX_DRIVERTYPE *)NULL; // LCD/Framebuffer device handle
|
||||||
m_hNxServer = (NXHANDLE)NULL; // NX server handle
|
m_hNxServer = (NXHANDLE)NULL; // NX server handle
|
||||||
#ifdef CONFIG_NX_MULTIUSER
|
#ifdef CONFIG_NX_MULTIUSER
|
||||||
m_connected = false; // True: Connected to the server
|
m_connected = false; // True: Connected to the server
|
||||||
@ -89,7 +89,7 @@ CNxServer::CNxServer(void)
|
|||||||
|
|
||||||
m_nServers++;
|
m_nServers++;
|
||||||
|
|
||||||
// Create miscellaneous singleton instances. Why is this done here?
|
// Create miscellaneous singleton instances. Why is this done here?
|
||||||
// Because this needs to be done once before any widgets are created and we
|
// Because this needs to be done once before any widgets are created and we
|
||||||
// don't want to rely on static constructors.
|
// don't want to rely on static constructors.
|
||||||
|
|
||||||
@ -426,7 +426,7 @@ FAR void *CNxServer::listener(FAR void *arg)
|
|||||||
|
|
||||||
CNxServer *This = (CNxServer*)arg;
|
CNxServer *This = (CNxServer*)arg;
|
||||||
|
|
||||||
// Process events forever
|
// Process events forever
|
||||||
|
|
||||||
while (!This->m_stop)
|
while (!This->m_stop)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user