Code cleanup
This commit is contained in:
parent
26e508b5c6
commit
f574d3abfb
@ -109,7 +109,7 @@ typedef struct _ModemPlugin
|
|||||||
} Hayes;
|
} Hayes;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
static const char * hayes_command_status[HCS_COUNT] =
|
static const char * _hayes_command_status[HCS_COUNT] =
|
||||||
{
|
{
|
||||||
"HCS_PENDING", "HCS_QUEUED", "HCS_ACTIVE", "HCS_TIMEOUT", "HCS_ERROR",
|
"HCS_PENDING", "HCS_QUEUED", "HCS_ACTIVE", "HCS_TIMEOUT", "HCS_ERROR",
|
||||||
"HCS_SUCCESS"
|
"HCS_SUCCESS"
|
||||||
@ -2043,7 +2043,7 @@ static HayesCommandStatus _on_reset_callback(HayesCommand * command,
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s(%s (%u))\n", __func__,
|
fprintf(stderr, "DEBUG: %s(%s (%u))\n", __func__,
|
||||||
hayes_command_status[status], status);
|
_hayes_command_status[status], status);
|
||||||
#endif
|
#endif
|
||||||
status = _on_request_generic(command, status, hayes);
|
status = _on_request_generic(command, status, hayes);
|
||||||
switch(status)
|
switch(status)
|
||||||
|
Loading…
Reference in New Issue
Block a user