diff --git a/src/lmic/lmic.c b/src/lmic/lmic.c index 46fa1a50..6323fdb6 100644 --- a/src/lmic/lmic.c +++ b/src/lmic/lmic.c @@ -2608,7 +2608,7 @@ static void engineUpdate_inner (void) { // otherwise the compiler falsely assumes that the computation // is positive. // - if( ((ostime_t) (txbeg - (now + TX_RAMPUP)) < 0 ) { + if( ((ostime_t) (txbeg - (now + TX_RAMPUP))) < 0 ) { // We could send right now! txbeg = now; dr_t txdr = (dr_t)LMIC.datarate;