Chris Mullins преди 8 години
родител
ревизия
50c604749c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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