configs/lpcxpresso-lpc5428/fb: Should disable pixel depths that are not being used.

This commit is contained in:
Gregory Nutt 2018-01-04 16:40:31 -06:00
parent d5dc79563c
commit 5d1a91fd8e
3 changed files with 11 additions and 4 deletions

View File

@ -53,6 +53,12 @@ CONFIG_NSH_DISABLE_IFUPDOWN=y
CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_LINELEN=64
CONFIG_NSH_READLINE=y
CONFIG_NXFONTS_DISABLE_1BPP=y
CONFIG_NXFONTS_DISABLE_24BPP=y
CONFIG_NXFONTS_DISABLE_2BPP=y
CONFIG_NXFONTS_DISABLE_32BPP=y
CONFIG_NXFONTS_DISABLE_4BPP=y
CONFIG_NXFONTS_DISABLE_8BPP=y
CONFIG_PDCURSES_FONT_6X9=y
CONFIG_PREALLOC_MQ_MSGS=4
CONFIG_PREALLOC_TIMERS=4

View File

@ -58,8 +58,8 @@
/****************************************************************************
* These offsets describes the master boot record.
*
* The folowing fields are common to FAT12/16/32 (but all value descriptions
* refer to the interpretation under FAT32.
* The following fields are common to FAT12/16/32 (but all value descriptions
* refer to the interpretation under FAT32).
*/
#define BS_JUMP 0 /* 3@0: Jump instruction to boot code (ignored) */

View File

@ -1126,6 +1126,7 @@ int fat_removechain(struct fat_mountpt_s *fs, uint32_t cluster)
if (nextcluster < 0)
{
/* Error! */
return nextcluster;
}