]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - lfsr.c
Update comments
[rgblamp.git] / lfsr.c
diff --git a/lfsr.c b/lfsr.c
index 492f3c6404ee768536ef8ab4d6084e05f054c142..df1fe31e796fd05f44fde1e1466fdef89a841f34 100644 (file)
--- a/lfsr.c
+++ b/lfsr.c
  * This is a small, fast and efficient software implementation of a 16-bit
  * Linear Feedback Shift Register (LFSR).  It uses the Galois method to perform
  * the exclusive OR operations in parallel for improved performance over the
- * standard, or Fibonacci, method.  The algorithm also skips the exlusive or
- * operations if it doesn't need to do them, though on this uC the branch may
- * not generate a net performance increase over doing the exclusive or
- * operations every time.
- *
- * After rng returns, RNGLO and RNGHI contain the updated 16-bit random number.
- * RNGLO will contain a value $01-$FF, RNGHI will contain $00-$FF.
+ * standard, or Fibonacci, method.
  *
  * @author R. Steve McKown <rsmckown@gmail.com>
  */