File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ void loop() {
72
72
if ((PAUSE && tx_legal && millis () - last_tx > (PAUSE * 1000 )) || button.isSingleClick ()) {
73
73
// In case of button click, tell user to wait
74
74
if (!tx_legal) {
75
- both.printf (" Legal limit, wait %" PRIu64 " sec.\n " , ((minimum_pause - (millis () - last_tx)) / 1000 ) + 1 );
75
+ both.printf (" Legal limit, wait %i sec.\n " , ( int ) ((minimum_pause - (millis () - last_tx)) / 1000 ) + 1 );
76
76
return ;
77
77
}
78
78
both.printf (" TX [%s] " , String (counter).c_str ());
@@ -83,7 +83,7 @@ void loop() {
83
83
tx_time = millis () - tx_time;
84
84
heltec_led (0 );
85
85
if (_radiolib_status == RADIOLIB_ERR_NONE) {
86
- both.printf (" OK (%i ms)\n " , tx_time);
86
+ both.printf (" OK (%i ms)\n " , ( int ) tx_time);
87
87
} else {
88
88
both.printf (" fail (%i)\n " , _radiolib_status);
89
89
}
You can’t perform that action at this time.
0 commit comments