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
Kimmo Vaisanen 2018-10-01 13:23:11 +03:00
parent c40d86038c
commit 553718ba5b
1 changed files with 1 additions and 1 deletions

View File

@ -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