Browse Source

Clean up stray tabs

Scott Lahteine 4 years ago
parent
commit
5641adb01b

+ 17
- 17
Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_BULK_STORAGE/UHS_SCSI.h View File

@@ -25,7 +25,7 @@ e-mail   :  support@circuitsathome.com
25 25
  */
26 26
 
27 27
 #ifndef UHS_SCSI_H
28
-#define	UHS_SCSI_H
28
+#define UHS_SCSI_H
29 29
 
30 30
 /*
31 31
  * Reference documents from T10 (http://www.t10.org)
@@ -35,21 +35,21 @@ e-mail   :  support@circuitsathome.com
35 35
  */
36 36
 
37 37
 /* Group 1 commands (CDB's here are should all be 6-bytes) */
38
-#define SCSI_CMD_TEST_UNIT_READY	0x00U
39
-#define SCSI_CMD_REQUEST_SENSE		0x03U
40
-#define SCSI_CMD_FORMAT_UNIT		0x04U
41
-#define SCSI_CMD_READ_6			0x08U
42
-#define SCSI_CMD_WRITE_6		0x0AU
43
-#define SCSI_CMD_INQUIRY		0x12U
38
+#define SCSI_CMD_TEST_UNIT_READY        0x00U
39
+#define SCSI_CMD_REQUEST_SENSE          0x03U
40
+#define SCSI_CMD_FORMAT_UNIT            0x04U
41
+#define SCSI_CMD_READ_6                 0x08U
42
+#define SCSI_CMD_WRITE_6                0x0AU
43
+#define SCSI_CMD_INQUIRY                0x12U
44 44
 #define SCSI_CMD_MODE_SELECT_6          0x15U
45
-#define SCSI_CMD_MODE_SENSE_6		0x1AU
46
-#define SCSI_CMD_START_STOP_UNIT	0x1BU
45
+#define SCSI_CMD_MODE_SENSE_6           0x1AU
46
+#define SCSI_CMD_START_STOP_UNIT        0x1BU
47 47
 #define SCSI_CMD_PREVENT_REMOVAL        0x1EU
48 48
 /* Group 2 Commands (CDB's here are 10-bytes) */
49 49
 #define SCSI_CMD_READ_FORMAT_CAPACITIES 0x23U
50
-#define SCSI_CMD_READ_CAPACITY_10	0x25U
51
-#define SCSI_CMD_READ_10		0x28U
52
-#define SCSI_CMD_WRITE_10		0x2AU
50
+#define SCSI_CMD_READ_CAPACITY_10       0x25U
51
+#define SCSI_CMD_READ_10                0x28U
52
+#define SCSI_CMD_WRITE_10               0x2AU
53 53
 #define SCSI_CMD_SEEK_10                0x2BU
54 54
 #define SCSI_CMD_ERASE_10               0x2CU
55 55
 #define SCSI_CMD_WRITE_AND_VERIFY_10    0x2EU
@@ -107,10 +107,10 @@ e-mail   :  support@circuitsathome.com
107 107
 #define SCSI_CMD_READ_ALL_SUBCODES      0xDFU /* Vendor unique */
108 108
 
109 109
 /* SCSI error codes */
110
-#define SCSI_S_NOT_READY		0x02U
111
-#define SCSI_S_MEDIUM_ERROR		0x03U
112
-#define SCSI_S_ILLEGAL_REQUEST		0x05U
113
-#define SCSI_S_UNIT_ATTENTION		0x06U
110
+#define SCSI_S_NOT_READY                0x02U
111
+#define SCSI_S_MEDIUM_ERROR             0x03U
112
+#define SCSI_S_ILLEGAL_REQUEST          0x05U
113
+#define SCSI_S_UNIT_ATTENTION           0x06U
114 114
 #define SCSI_ASC_LBA_OUT_OF_RANGE       0x21U
115 115
 #define SCSI_ASC_MEDIA_CHANGED          0x28U
116 116
 #define SCSI_ASC_MEDIUM_NOT_PRESENT     0x3AU
@@ -324,4 +324,4 @@ struct SCSI_Request_Sense_Response {
324 324
         uint8_t SenseKeySpecific[3];
325 325
 } __attribute__((packed));
326 326
 
327
-#endif	/* UHS_SCSI_H */
327
+#endif  /* UHS_SCSI_H */

+ 2
- 2
Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/UHS_printf_HELPER.h View File

@@ -25,7 +25,7 @@ e-mail   :  support@circuitsathome.com
25 25
  */
26 26
 
27 27
 #ifndef UHS_PRINTF_HELPER_H
28
-#define	UHS_PRINTF_HELPER_H
28
+#define UHS_PRINTF_HELPER_H
29 29
 
30 30
 #ifdef LOAD_UHS_PRINTF_HELPER
31 31
 #include <Arduino.h>
@@ -197,4 +197,4 @@ void UHS_AVR_printf_HELPER_init() {
197 197
 #ifndef UHS_printf_HELPER_init
198 198
 #define UHS_printf_HELPER_init() (void(0))
199 199
 #endif
200
-#endif	/* UHS_PRINTF_HELPER_H */
200
+#endif  /* UHS_PRINTF_HELPER_H */

+ 2
- 2
Marlin/src/sd/usb_flashdrive/lib-uhs3/UHS_host/macro_logic.h View File

@@ -10,7 +10,7 @@
10 10
  */
11 11
 
12 12
 #ifndef MACRO_LOGIC_H
13
-#define	MACRO_LOGIC_H
13
+#define MACRO_LOGIC_H
14 14
 
15 15
 #define AJK_CAT(a, ...) AJK_PRIMITIVE_CAT(a, __VA_ARGS__)
16 16
 #define AJK_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
@@ -150,4 +150,4 @@ Make 3 bogus function bodies
150 150
 AJK_MAKE_FUNS(unsigned Cfunc,(arg1, arg2),3,BODY)
151 151
 #endif
152 152
 
153
-#endif	/* MACRO_LOGIC_H */
153
+#endif  /* MACRO_LOGIC_H */

+ 2
- 2
Marlin/src/sd/usb_flashdrive/lib-uhs3/dyn_SWI/SWI_INLINE.h View File

@@ -23,7 +23,7 @@
23 23
  */
24 24
 #ifdef DYN_SWI_H
25 25
 #ifndef SWI_INLINE_H
26
-#define	SWI_INLINE_H
26
+#define SWI_INLINE_H
27 27
 
28 28
 #ifndef SWI_MAXIMUM_ALLOWED
29 29
 #define SWI_MAXIMUM_ALLOWED 4
@@ -240,7 +240,7 @@ int exec_SWI(const dyn_SWI* klass) {
240 240
 }
241 241
 
242 242
 #endif /* defined(__arm__) */
243
-#endif	/* SWI_INLINE_H */
243
+#endif  /* SWI_INLINE_H */
244 244
 #else
245 245
 #error "Never include SWI_INLINE.h directly, include dyn_SWI.h instead"
246 246
 #endif

+ 4
- 4
Marlin/src/sd/usb_flashdrive/lib-uhs3/dyn_SWI/dyn_SWI.h View File

@@ -20,7 +20,7 @@
20 20
  */
21 21
 
22 22
 #ifndef DYN_SWI_H
23
-#define	DYN_SWI_H
23
+#define DYN_SWI_H
24 24
 
25 25
 
26 26
 #if defined(__arm__) || defined(ARDUINO_ARCH_PIC32)
@@ -109,10 +109,10 @@ extern "C"
109 109
 #elif defined(CORE_TEENSY)
110 110
 
111 111
 #ifndef NVIC_GET_ACTIVE
112
-#define NVIC_GET_ACTIVE(n)	(*((volatile uint32_t *)0xE000E300 + ((n) >> 5)) & (1 << ((n) & 31)))
112
+#define NVIC_GET_ACTIVE(n)  (*((volatile uint32_t *)0xE000E300 + ((n) >> 5)) & (1 << ((n) & 31)))
113 113
 #endif
114 114
 #ifndef NVIC_GET_PENDING
115
-#define NVIC_GET_PENDING(n)	(*((volatile uint32_t *)0xE000E200 + ((n) >> 5)) & (1 << ((n) & 31)))
115
+#define NVIC_GET_PENDING(n) (*((volatile uint32_t *)0xE000E200 + ((n) >> 5)) & (1 << ((n) & 31)))
116 116
 #ifndef SWI_IRQ_NUM
117 117
 #ifdef __MK20DX256__
118 118
 #define SWI_IRQ_NUM 17
@@ -169,4 +169,4 @@ extern int exec_SWI(const dyn_SWI* klass);
169 169
 #define DDSB() (void(0))
170 170
 #endif
171 171
 #endif
172
-#endif	/* DYN_SWI_H */
172
+#endif  /* DYN_SWI_H */

Loading…
Cancel
Save