File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3081,7 +3081,7 @@ int LMIC_getNetworkTimeReference(lmic_time_reference_t *pReference) {
3081
3081
return 1 ;
3082
3082
}
3083
3083
#else
3084
- ( void ) pReference ;
3084
+ LMIC_API_PARAMETER ( pReference ) ;
3085
3085
#endif // LMIC_ENABLE_DeviceTimeReq
3086
3086
return 0 ;
3087
3087
}
Original file line number Diff line number Diff line change @@ -658,7 +658,8 @@ void acSetTimer(ostime_t delay) {
658
658
os_setTimedCallback (& LMIC_Compliance .timerJob , os_getTime () + delay , timerExpiredCb );
659
659
}
660
660
661
- static void timerExpiredCb (__attribute__((unused )) osjob_t * j ) {
661
+ static void timerExpiredCb (osjob_t * j ) {
662
+ LMIC_API_PARAMETER (j );
662
663
LMIC_Compliance .eventflags |= LMIC_COMPLIANCE_EVENT_TIMER_EXPIRED ;
663
664
fsmEval ();
664
665
}
@@ -733,7 +734,9 @@ static void acSendUplink(void) {
733
734
}
734
735
}
735
736
736
- static void sendUplinkCompleteCb (__attribute__((unused )) void * pUserData , __attribute__((unused )) int fSuccess ) {
737
+ static void sendUplinkCompleteCb (void * pUserData , int fSuccess ) {
738
+ LMIC_API_PARAMETER (pUserData );
739
+ LMIC_API_PARAMETER (fSuccess );
737
740
LMIC_Compliance .eventflags |= LMIC_COMPLIANCE_EVENT_UPLINK_COMPLETE ;
738
741
LMIC_COMPLIANCE_PRINTF ("%s(%s)\n" , __func__ , LMICcompliance_txSuccessToString (fSuccess ));
739
742
fsmEvalDeferred ();
You can’t perform that action at this time.
0 commit comments