]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: Syntax suger
authoriceman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 15:31:38 +0000 (16:31 +0100)
committericeman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 15:31:38 +0000 (16:31 +0100)
armsrc/lfsampling.c

index 7d55fa3cfae938b11edf054422ff461cd6f74869..3a502eb683318e4ebb36b754191ffc8b7bf710ea 100644 (file)
@@ -40,11 +40,11 @@ void printConfig()
 void setSamplingConfig(sample_config *sc)
 {
        if(sc->divisor != 0) config.divisor = sc->divisor;
-       if(sc->bits_per_sample!= 0) config.bits_per_sample= sc->bits_per_sample;
-       if(sc->decimation!= 0) config.decimation= sc->decimation;
-       if(sc->trigger_threshold != -1) config.trigger_threshold= sc->trigger_threshold;
+       if(sc->bits_per_sample != 0) config.bits_per_sample = sc->bits_per_sample;
+       if(sc->decimation != 0) config.decimation = sc->decimation;
+       if(sc->trigger_threshold != -1) config.trigger_threshold = sc->trigger_threshold;
 
-       config.averaging= sc->averaging;
+       config.averaging = sc->averaging;
        if(config.bits_per_sample > 8)  config.bits_per_sample = 8;
        if(config.decimation < 1)       config.decimation = 1;
 
Impressum, Datenschutz