mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Backport r31140: 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/branches/v3_10@31141 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0711dd10ac
commit
51b2db366a
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ static const unsigned char rbmpheader[] =
|
|||
void remote_screen_dump(void)
|
||||
{
|
||||
int fd, y;
|
||||
char filename[MAX_PATH];
|
||||
char filename[32];
|
||||
|
||||
fb_remote_data *src;
|
||||
#if LCD_REMOTE_DEPTH == 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue