Browse Source

Fix whitespace

Aaron Marcher 7 years ago
parent
commit
e213b48122
3 changed files with 3 additions and 3 deletions
  1. 1 1
      components/ram.c
  2. 1 1
      components/temperature.c
  3. 1 1
      components/wifi.c

+ 1 - 1
components/ram.c

@@ -80,7 +80,7 @@
 	#include <sys/types.h>
 	#include <unistd.h>
 
-	#define LOG1024 	10
+	#define LOG1024 10
 	#define pagetok(size, pageshift) (size_t)(size << (pageshift - LOG1024))
 
 	inline int

+ 1 - 1
components/temperature.c

@@ -11,7 +11,7 @@
 	{
 		uintmax_t temp;
 
-		if(pscanf(file, "%ju", &temp) != 1) {
+		if (pscanf(file, "%ju", &temp) != 1) {
 			return NULL;
 		}
 

+ 1 - 1
components/wifi.c

@@ -32,7 +32,7 @@
 		}
 		p = fgets(status, 5, fp);
 		fclose(fp);
-		if(!p || strcmp(status, "up\n") != 0) {
+		if (!p || strcmp(status, "up\n") != 0) {
 			return NULL;
 		}