From: iceman1001 Date: Tue, 19 Jan 2016 15:31:38 +0000 (+0100) Subject: CHG: Syntax suger X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9974991e4baa2be529f311e0bec7e38e6212f3e7 CHG: Syntax suger --- diff --git a/armsrc/lfsampling.c b/armsrc/lfsampling.c index 7d55fa3c..3a502eb6 100644 --- a/armsrc/lfsampling.c +++ b/armsrc/lfsampling.c @@ -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;