Sample GUI for LPC4088. Base code to begin dev
Dependencies: DMBasicGUI DMSupport
Fork of lpc4088_displaymodule_shipped_demo by
Diff: main.cpp
- Revision:
- 3:57de4d043115
- Parent:
- 0:b94e330c98ac
- Child:
- 4:a7cbb22e4348
--- a/main.cpp Fri Mar 20 14:04:25 2015 +0000 +++ b/main.cpp Mon Mar 23 13:49:19 2015 +0000 @@ -67,6 +67,19 @@ static Resource* RESOURCES[NumResources] = {0}; +/****************************************************************************** + * Global variables + *****************************************************************************/ + +EthernetInterface eth; +bool ethInitialized = false; +bool ethUsingDHCP = true; +bool haveUSBMSD = false; + +/****************************************************************************** + * Local functions + *****************************************************************************/ + static void prepareResources() { Display* disp = DMBoard::instance().display(); @@ -119,19 +132,6 @@ } } -/****************************************************************************** - * Global variables - *****************************************************************************/ - -EthernetInterface eth; -bool ethInitialized = false; -bool ethUsingDHCP = true; -bool haveUSBMSD = false; - -/****************************************************************************** - * Local functions - *****************************************************************************/ - void aliveTask(void const* args) { DMBoard* board = &DMBoard::instance(); @@ -583,5 +583,3 @@ Thread::wait(3600*1000); } } - -