summaryrefslogtreecommitdiffstats
path: root/src/cold-flash.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-01-23 16:07:02 +0100
commitfc987674dd92a50687d970b02e072fff19391175 (patch)
tree2f7e08559553d6cf3270830ea370abd1a69b08f9 /src/cold-flash.c
parent62fa041f865cb3593e07b2caa514b61e266e851e (diff)
download0xFFFF-fc987674dd92a50687d970b02e072fff19391175.tar.bz2
all: Code style fixes
Diffstat (limited to 'src/cold-flash.c')
-rw-r--r--src/cold-flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cold-flash.c b/src/cold-flash.c
index 4f01457..89b055a 100644
--- a/src/cold-flash.c
+++ b/src/cold-flash.c
@@ -49,7 +49,7 @@ static void crc32_gentab(void) {
for ( j = 8; j > 0; j-- ) {
- if (crc & 1)
+ if ( crc & 1 )
crc = (crc >> 1) ^ poly;
else
crc >>= 1;
@@ -316,7 +316,7 @@ static int ping_timeout(libusb_device_handle * udev) {
}
- if (pong)
+ if ( pong )
return 0;
else
return -1;