From f31c72d7af6380b65c10cf7652d724f5407ce968 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 8 Dec 2014 13:45:17 -0600 Subject: [PATCH] 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 --- configs/sim/traveler/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/sim/traveler/defconfig b/configs/sim/traveler/defconfig index 1aaa79b2cd6..e5702e6a93f 100644 --- a/configs/sim/traveler/defconfig +++ b/configs/sim/traveler/defconfig @@ -542,6 +542,8 @@ CONFIG_GRAPHICS_TRAVELER=y # CONFIG_GRAPHICS_TRAVELER_RGB16_565 is not set CONFIG_GRAPHICS_TRAVELER_RGB32_888=y CONFIG_GRAPHICS_TRAVELER_DEFPATH="/mnt/world" +CONFIG_GRAPHICS_TRAVELER_LIMITFPS=y +CONFIG_GRAPHICS_TRAVELER_MAXFPS=30 CONFIG_GRAPHICS_TRAVELER_PALRANGES=y #