Explorar o código

update comment

Chris Mullins %!s(int64=8) %!d(string=hai) anos
pai
achega
50c604749c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/MiLight/MiLightClient.h

+ 1 - 1
lib/MiLight/MiLightClient.h

@@ -108,7 +108,7 @@ protected:
    * Calculates the number of resend packets based on when the last packet
    * was sent using this function:
    *
-   *      lastRepeatsValue + (millisSinceLastSend - THRESHOLD) / 8
+   *    lastRepeatsValue + (millisSinceLastSend - THRESHOLD) * throttleMultiplier
    *
    * When the last send was more recent than THRESHOLD, the number of repeats
    * will be decreased to a minimum of zero.  When less recent, it will be