Эх сурвалжийг харах

Fix indentation of Windows code

Stéphane Raimbault 11 жил өмнө
parent
commit
1224ec642d

+ 6 - 6
src/modbus-rtu-private.h

@@ -49,12 +49,12 @@
 /* WIN32: struct containing serial handle and a receive buffer */
 /* WIN32: struct containing serial handle and a receive buffer */
 #define PY_BUF_SIZE 512
 #define PY_BUF_SIZE 512
 struct win32_ser {
 struct win32_ser {
-	/* File handle */
+    /* File handle */
-	HANDLE fd;
+    HANDLE fd;
-	/* Receive buffer */
+    /* Receive buffer */
-	uint8_t buf[PY_BUF_SIZE];
+    uint8_t buf[PY_BUF_SIZE];
-	/* Received chars */
+    /* Received chars */
-	DWORD n_bytes;
+    DWORD n_bytes;
 };
 };
 #endif /* _WIN32 */
 #endif /* _WIN32 */