Skip to content

Commit

Permalink
Move variable address
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Mar 5, 2024
1 parent c0b3206 commit 040506d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions source/include/private/cellular_common_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,15 @@ struct CellularContext
const CellularCommInterface_t * pCommIntf; /**< Communication interface for target specific. */

/* Common library. */
CellularATCommandResponse_t * pAtCmdResp; /**< Solicited response pointer. */
bool bLibOpened; /**< CellularLib is currently open. */
bool bLibShutdown; /**< CellularLib prematurely shut down. */
bool bLibClosing; /**< Graceful shutdown in progress. */
PlatformMutex_t libStatusMutex; /**< The mutex for changing lib status. */
PlatformMutex_t libAtDataMutex; /**< The mutex for AT data in cellular context. */
_callbackEvents_t cbEvents; /**< Call back functions registered to report events. */
cellularAtData_t libAtData; /**< Global variables. */
bool bLibOpened; /**< CellularLib is currently open. */
bool bLibShutdown; /**< CellularLib prematurely shut down. */
bool bLibClosing; /**< Graceful shutdown in progress. */
PlatformMutex_t libStatusMutex; /**< The mutex for changing lib status. */
PlatformMutex_t libAtDataMutex; /**< The mutex for AT data in cellular context. */
_callbackEvents_t cbEvents; /**< Call back functions registered to report events. */
cellularAtData_t libAtData; /**< Global variables. */

CellularTokenTable_t tokenTable; /**< Token table to config pkthandler and pktio. */
CellularTokenTable_t tokenTable; /**< Token table to config pkthandler and pktio. */

/* Packet handler. */
PlatformMutex_t pktRequestMutex; /**< The mutex for sending request. */
Expand Down Expand Up @@ -147,6 +146,7 @@ struct CellularContext
void * pUndefinedRespCBContext; /**< The pCallbackContext passed to CellularUndefinedRespCallback_t. */
CellularInputBufferCallback_t inputBufferCallback; /**< URC data preprocess callback function. */
void * pInputBufferCallbackContext; /**< the callback context passed to inputBufferCallback. */
CellularATCommandResponse_t * pAtCmdResp; /**< Solicited response pointer. */

/* PktIo data handling. */
uint32_t dataLength; /**< The data length in pLine. */
Expand Down

0 comments on commit 040506d

Please sign in to comment.