]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfops.c
CHG: change the number of calls to prng_successor was done. Fewer should mean faster :)
[proxmark3-svn] / armsrc / lfops.c
index 294bfb5e4206bbe36d32675d1442aea775ca95c3..8b7e98fc2e31b7cd27b2d9c23f3f588abf7f899b 100644 (file)
@@ -22,8 +22,8 @@
 /**
  * Function to do a modulation and then get samples.
  * @param delay_off
- * @param period_0
- * @param period_1
+ * @param periods  0xFFFF0000 is period_0,  0x0000FFFF is period_1
+ * @param useHighFreg
  * @param command
  */
 void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t periods, uint32_t useHighFreq, uint8_t *command)
@@ -37,7 +37,7 @@ void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t periods, uint3
        uint16_t period_1 =  periods & 0xFFFF;
        
        // 95 == 125 KHz  88 == 124.8 KHz
-       int divisor_used = (useHighFreq) ? 88 : 95 ; // 125 KHz
+       int divisor_used = (useHighFreq) ? 88 : 95;
        sample_config sc = { 0,0,1, divisor_used, 0};
        setSamplingConfig(&sc);
 
Impressum, Datenschutz