view src/aci2/bmi/Icons/IcnDefs.c @ 624:012028896cfb

FFS dev.c, Leonardo target: Fujitsu MB84VF5F5F4J2 #if 0'ed out The FFS code we got from TI/Openmoko had a stanza for "Fujitsu MB84VF5F5F4J2 stacked device", using a fake device ID code that would need to be patched manually into cfgffs.c (suppressing and overriding autodetection) and using an FFS base address in the nCS2 bank, indicating that this FFS config was probably meant for the MCP version of Leonardo which allows for 16 MiB flash with a second bank on nCS2. We previously had this FFS config stanza conditionalized under CONFIG_TARGET_LEONARDO because the base address contained therein is invalid for other targets, but now that we actually have a Leonardo build target in FC Magnetite, I realize that the better approach is to #if 0 out this stanza altogether: it is already non-functional because it uses a fake device ID code, thus it is does not add support for more Leonardo board variants, instead it is just noise.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 22 Dec 2019 21:24:29 +0000
parents 93999a60b835
children
line wrap: on
line source

#include "IcnDefs.h"

#if 0

char NO_PALETTE[] = {0x00,0x00,0x00};
char NO_BMP_DATA[] = {0x00,0x00,0x00};

//Function to get icon information
int icn_getIconData( int iconId, int * op_sx, int * op_sy, char* *op_bmpData, int *op_format)
{
	char**palette;
	*op_sx = 0;	
	*op_sy = 0;
	*op_bmpData = NO_BMP_DATA;
	*palette = NO_PALETTE;
#ifdef COLOURDISPLAY
	switch (iconId)
	{
	case ICON_IDLE_Background:

	case ICON_IDLE_Battery4:		icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_Battery14:		icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_Battery24:		icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_Battery49:		icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_Battery100:		icnBattery_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_forwarding:
	case ICON_IDLE_keylock:
	case ICON_IDLE_message:
	case ICON_IDLE_signalStr49: 	icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_signalStr99: 	icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_signalStr149: 	icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_signalStr199:	icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_signalStr255:	icnSignalStr_dataformat(iconId,op_bmpData, op_sx, op_sy, op_format, palette);	break;
	case ICON_IDLE_homeZone:
	case ICON_IDLE_gprs:			icnGPRS_dataformat(op_bmpData, op_sx, op_sy, op_format, palette);	break;

	case ICON_IDLE_voicemail:


//'main' icons
	case ICON_MAIN_Application:
	case ICON_MAIN_Divert:
	case ICON_MAIN_Messages:
	case ICON_MAIN_Phonebook:
	case ICON_MAIN_RecentCalls:
	case ICON_MAIN_Security:
	case ICON_MAIN_Settings:
	case ICON_MAIN_SIM_Toolkit:
	case ICON_MAIN_WAP:

//popup
	case ICON_POPUP_CLOUDS:

//network
	case ICON_Bouygues:
	case ICON_Vodafone:
	case ICON_SFR:
	case ICON_VodafoneD2:
	case ICON_Chinamobile:
	case ICON_Fareast:
	case ICON_orange:
	case ICON_sonofon:
	case ICON_Tmobile:

	case ICON_BgdSquares: 		icnBgdSquares_dataformat(op_bmpData, op_sx, op_sy, op_format, palette);	break;
	default:
		return(-1);
		break;
		
	}
#endif
	return (0);	
}
#endif