mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Optimize memory usage for gsm_to_ascii table
gsm_to_ascii table contains ASCII codes, so it can be a char table instead of int table. This reduces ROM usage by 384 bytes.pull/8313/head
parent
c40d86038c
commit
553718ba5b
|
@ -41,7 +41,7 @@ const uint8_t SMS_MAX_GSM7_CONCATENATED_SINGLE_SMS_SIZE = 153;
|
|||
#define NVAM '?' // Not Valid ascii, ISO-8859-1 mark
|
||||
|
||||
// mapping table from 7-bit GSM to ascii (ISO-8859-1)
|
||||
static const int gsm_to_ascii[] = {
|
||||
static const char gsm_to_ascii[] = {
|
||||
64, // 0
|
||||
163, // 1
|
||||
36, // 2
|
||||
|
|
Loading…
Reference in New Issue