Skip to content

Commit

Permalink
Add const to patsing table.
Browse files Browse the repository at this point in the history
  • Loading branch information
ActoryOu committed Nov 19, 2024
1 parent 70f1d11 commit 3297062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/cellular_3gpp_urc_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ static CellularPktStatus_t _regStatusSwitchParsingFuncCreg( CellularContext_t *
cellularAtData_t * pLibAtData )
{
CellularPktStatus_t packetStatus = CELLULAR_PKT_STATUS_OK;
uint8_t parsingTable[] =
const uint8_t parsingTable[] =
{
CELLULAR_REG_POS_NONE,
CELLULAR_REG_POS_NET_REG,
Expand Down Expand Up @@ -530,7 +530,7 @@ static CellularPktStatus_t _regStatusSwitchParsingFuncCgreg( CellularContext_t *
cellularAtData_t * pLibAtData )
{
CellularPktStatus_t packetStatus = CELLULAR_PKT_STATUS_OK;
uint8_t parsingTable[] =
const uint8_t parsingTable[] =
{
CELLULAR_REG_POS_NONE,
CELLULAR_REG_POS_NET_REG,
Expand Down Expand Up @@ -573,7 +573,7 @@ static CellularPktStatus_t _regStatusSwitchParsingFuncCereg( CellularContext_t *
cellularAtData_t * pLibAtData )
{
CellularPktStatus_t packetStatus = CELLULAR_PKT_STATUS_OK;
uint8_t parsingTable[] =
const uint8_t parsingTable[] =
{
CELLULAR_REG_POS_NONE,
CELLULAR_REG_POS_NET_REG,
Expand Down

0 comments on commit 3297062

Please sign in to comment.