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
This commit is contained in:
Frank Gevaerts 2011-12-04 17:17:45 +00:00
parent 346f1e0fc6
commit 700e360b61

View file

@ -283,7 +283,7 @@ static const unsigned char rbmpheader[] =
void remote_screen_dump(void) void remote_screen_dump(void)
{ {
int fd, y; int fd, y;
char filename[MAX_PATH]; char filename[32];
fb_remote_data *src; fb_remote_data *src;
#if LCD_REMOTE_DEPTH == 1 #if LCD_REMOTE_DEPTH == 1