We can make quite a bit of data const.
This commit is contained in:
parent
1f68f2de4a
commit
c23054364d
|
@ -45,12 +45,12 @@ void WIFI_Host_ShutdownSystem(void) ;
|
|||
|
||||
*******************************************************************************/
|
||||
|
||||
u8 FW_Mac[6] = { 0x00, 0x09, 0xBF, 0x12, 0x34, 0x56 } ;
|
||||
u8 FW_WIFIInit[32] = { 0x02,0x00, 0x17,0x00, 0x26,0x00, 0x18,0x18,
|
||||
const u8 FW_Mac[6] = { 0x00, 0x09, 0xBF, 0x12, 0x34, 0x56 } ;
|
||||
const u8 FW_WIFIInit[32] = { 0x02,0x00, 0x17,0x00, 0x26,0x00, 0x18,0x18,
|
||||
0x48,0x00, 0x40,0x48, 0x58,0x00, 0x42,0x00,
|
||||
0x40,0x01, 0x64,0x80, 0xE0,0xE0, 0x43,0x24,
|
||||
0x0E,0x00, 0x32,0x00, 0xF4,0x01, 0x01,0x01 } ;
|
||||
u8 FW_BBInit[105] = { 0x6D, 0x9E, 0x40, 0x05,
|
||||
const u8 FW_BBInit[105] = { 0x6D, 0x9E, 0x40, 0x05,
|
||||
0x1B, 0x6C, 0x48, 0x80,
|
||||
0x38, 0x00, 0x35, 0x07,
|
||||
0x00, 0x00, 0x00, 0x00,
|
||||
|
@ -77,7 +77,7 @@ u8 FW_BBInit[105] = { 0x6D, 0x9E, 0x40, 0x05,
|
|||
0x13, 0x00, 0x00, 0x28,
|
||||
0x1c
|
||||
} ;
|
||||
u8 FW_RFInit[36] = { 0x07, 0xC0, 0x00,
|
||||
const u8 FW_RFInit[36] = { 0x07, 0xC0, 0x00,
|
||||
0x03, 0x9C, 0x12,
|
||||
0x28, 0x17, 0x14,
|
||||
0xba, 0xe8, 0x1a,
|
||||
|
@ -90,7 +90,7 @@ u8 FW_RFInit[36] = { 0x07, 0xC0, 0x00,
|
|||
0x22, 0x00, 0x08,
|
||||
0x6f, 0xff, 0x0d
|
||||
} ;
|
||||
u8 FW_RFChannel[6*14] = { 0x28, 0x17, 0x14, /* Channel 1 */
|
||||
const u8 FW_RFChannel[6*14] = { 0x28, 0x17, 0x14, /* Channel 1 */
|
||||
0xba, 0xe8, 0x1a,
|
||||
0x37, 0x17, 0x14, /* Channel 2 */
|
||||
0x46, 0x17, 0x19,
|
||||
|
@ -119,7 +119,7 @@ u8 FW_RFChannel[6*14] = { 0x28, 0x17, 0x14, /* Channel 1 */
|
|||
0xfa, 0x17, 0x14, /* Channel 14 */
|
||||
0x2f, 0xba, 0x18
|
||||
} ;
|
||||
u8 FW_BBChannel[14] = { 0xb3, 0xb3, 0xb3, 0xb3, 0xb3, /* channel 1- 6 */
|
||||
const u8 FW_BBChannel[14] = { 0xb3, 0xb3, 0xb3, 0xb3, 0xb3, /* channel 1- 6 */
|
||||
0xb4, 0xb4, 0xb4, 0xb4, 0xb4, /* channel 7-10 */
|
||||
0xb5, 0xb5, /* channel 11-12 */
|
||||
0xb6, 0xb6 /* channel 13-14 */
|
||||
|
|
Loading…
Reference in New Issue