diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2011-12-04 17:17:45 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2011-12-04 17:17:45 +0000 |
commit | 700e360b612766eb2729597be55c43b5b69bbe7f (patch) | |
tree | d48681cffe471d875e3dda0ae3e3d2a01b032734 | |
parent | 346f1e0fc633011228c94e21c33bdfe04ba0bc08 (diff) | |
download | rockbox-700e360b612766eb2729597be55c43b5b69bbe7f.tar.gz rockbox-700e360b612766eb2729597be55c43b5b69bbe7f.zip |
Reduce stack allocation for remote screendump. The screendump filename is generated and known, so we don't need MAX_PATH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31140 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/screendump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/screendump.c b/firmware/screendump.c index 30b9539732..4b431d5958 100644 --- a/firmware/screendump.c +++ b/firmware/screendump.c | |||
@@ -283,7 +283,7 @@ static const unsigned char rbmpheader[] = | |||
283 | void remote_screen_dump(void) | 283 | void remote_screen_dump(void) |
284 | { | 284 | { |
285 | int fd, y; | 285 | int fd, y; |
286 | char filename[MAX_PATH]; | 286 | char filename[32]; |
287 | 287 | ||
288 | fb_remote_data *src; | 288 | fb_remote_data *src; |
289 | #if LCD_REMOTE_DEPTH == 1 | 289 | #if LCD_REMOTE_DEPTH == 1 |