diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-05-25 01:26:52 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-05-25 01:26:52 +1000 |
commit | 7fbfde42aabbcd30cffba2fba35158236c0a6c6c (patch) | |
tree | e85c90a4f21974b706315d64209021e0b2bde764 /demos/modules/gdisp/gdisp_images/main.c | |
parent | 42006a67b5ccfd86f30d8a91cc474681c437eaf6 (diff) | |
download | uGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.tar.gz uGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.tar.bz2 uGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.zip |
GOS module, for operating system independance
GMISC fast floating point trig
GMISC fast fixed point trig
Diffstat (limited to 'demos/modules/gdisp/gdisp_images/main.c')
-rw-r--r-- | demos/modules/gdisp/gdisp_images/main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/demos/modules/gdisp/gdisp_images/main.c b/demos/modules/gdisp/gdisp_images/main.c index a6fa58d8..3fc20490 100644 --- a/demos/modules/gdisp/gdisp_images/main.c +++ b/demos/modules/gdisp/gdisp_images/main.c @@ -25,8 +25,6 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "ch.h" -#include "hal.h" #include "gfx.h" #ifdef WIN32 @@ -44,11 +42,7 @@ static gdispImage myImage; int main(void) { coord_t swidth, sheight; - halInit(); // Initialize the Hardware - chSysInit(); // Initialize the OS - gdispInit(); // Initialize the display - - gdispClear(Black); + gfxInit(); // Initialize the display // Get the display dimensions swidth = gdispGetWidth(); @@ -66,7 +60,7 @@ int main(void) { gdispImageClose(&myImage); while(1) { - chThdSleepMilliseconds(1000); + gfxSleepMilliseconds(1000); } return 0; |