@@ -54,8 +54,9 @@ static lmic_event_cb_t lmicEventCb;
54
54
static lmic_txmessage_cb_t sendUplinkCompleteCb ;
55
55
static osjobcbfn_t timerExpiredCb ;
56
56
57
- /* this is declared global so the optimizer can chuck it without warnings */
57
+ /* these are declared global so the optimizer can chuck them without warnings */
58
58
const char * LMICcompliance_txSuccessToString (int fSuccess );
59
+ const char * LMICcompliance_fsmstate_getName (lmic_compliance_fsmstate_t state );
59
60
60
61
/****************************************************************************\
61
62
|
@@ -386,8 +387,6 @@ Name: evEchoCommand()
386
387
387
388
*/
388
389
389
- static lmic_txmessage_cb_t evEchoCommandCb ;
390
-
391
390
static void evEchoCommand (
392
391
const uint8_t * pMessage ,
393
392
size_t nMessage
@@ -439,7 +438,7 @@ Name: fsmEval()
439
438
440
439
*/
441
440
442
- static const char * lmic_compliance_fsmstate_Getname (lmic_compliance_fsmstate_t state ) {
441
+ const char * LMICcompliance_fsmstate_getName (lmic_compliance_fsmstate_t state ) {
443
442
const char * const names [] = { LMIC_COMPLIANCE_FSMSTATE__NAMES };
444
443
445
444
if ((unsigned ) state >= sizeof (names )/sizeof (names [0 ]))
@@ -497,8 +496,8 @@ static void fsmEval(void) {
497
496
// state change!
498
497
LMIC_COMPLIANCE_PRINTF ("%s: change state %s(%u) => %s(%u)\n" ,
499
498
__func__ ,
500
- lmic_compliance_fsmstate_Getname (oldState ), (unsigned ) oldState ,
501
- lmic_compliance_fsmstate_Getname (newState ), (unsigned ) newState
499
+ LMICcompliance_fsmstate_getName (oldState ), (unsigned ) oldState ,
500
+ LMICcompliance_fsmstate_getName (newState ), (unsigned ) newState
502
501
);
503
502
fNewState = true;
504
503
LMIC_Compliance .fsmState = newState ;
0 commit comments