diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-08 13:45:17 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-08 13:45:17 -0600 |
commit | 709abbedae2e2fa5f7a68e6e14e254cf64d897ae (patch) | |
tree | b1fbf91c9bc7ed27f3babffda5b1188b2678cfc8 /apps/graphics/traveler/src/trv_graphics.c | |
parent | 2cf33eff014e7de2dab04d15159c75a976f337f9 (diff) | |
download | nuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.tar.gz nuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.tar.bz2 nuttx-709abbedae2e2fa5f7a68e6e14e254cf64d897ae.zip |
Traveler: Add logic to limit the frame rate. This is kind of a silly feature -- why would you ever want to limit the frame rate? Well, you need to that on the simulated platform to make bandwidth for other things to run like the simulated timer
Diffstat (limited to 'apps/graphics/traveler/src/trv_graphics.c')
-rw-r--r-- | apps/graphics/traveler/src/trv_graphics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/graphics/traveler/src/trv_graphics.c b/apps/graphics/traveler/src/trv_graphics.c index 32e2e199a..f7ff1249e 100644 --- a/apps/graphics/traveler/src/trv_graphics.c +++ b/apps/graphics/traveler/src/trv_graphics.c @@ -352,7 +352,7 @@ void trv_row_update(struct trv_graphics_info_s *ginfo, } /**************************************************************************** - * Name: trv_row_tranfer + * Name: trv_row_transfer * * Description: * Transfer one line from the line buffer to the NX window. @@ -544,7 +544,7 @@ void trv_display_update(struct trv_graphics_info_s *ginfo) #ifdef CONFIG_NX /* Transfer the row buffer to the NX window */ - trv_row_tranfer(ginfo, dest, destrow); + trv_row_transfer(ginfo, dest, destrow); destrow++; #else first = dest; @@ -558,7 +558,7 @@ void trv_display_update(struct trv_graphics_info_s *ginfo) #ifdef CONFIG_NX /* Transfer the row buffer to the NX window */ - trv_row_tranfer(ginfo, dest, destrow); + trv_row_transfer(ginfo, dest, destrow); destrow++; #else /* Point to the next row in the frame buffer */ |