Browse Source

HAL style tweak

Scott Lahteine 6 years ago
parent
commit
61688233c7
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_DUE/HAL_Due.cpp
  2. 2
    2
      Marlin/src/HAL/HAL_DUE/HAL_Due.h

+ 1
- 1
Marlin/src/HAL/HAL_DUE/HAL_Due.cpp View File

@@ -81,7 +81,7 @@ void sei(void) { interrupts(); }
81 81
 
82 82
 void HAL_clear_reset_source(void) { }
83 83
 
84
-uint8_t HAL_get_reset_source (void) {
84
+uint8_t HAL_get_reset_source(void) {
85 85
   switch ((RSTC->RSTC_SR >> 8) & 7) {
86 86
     case 0: return RST_POWER_ON; break;
87 87
     case 1: return RST_BACKUP; break;

+ 2
- 2
Marlin/src/HAL/HAL_DUE/HAL_Due.h View File

@@ -166,13 +166,13 @@ void HAL_enable_AdcFreerun(void);
166 166
 #define HAL_IDLETASK 1
167 167
 #define HAL_INIT 1
168 168
 #ifdef __cplusplus
169
-extern "C" {
169
+  extern "C" {
170 170
 #endif
171 171
 void HAL_idletask(void);
172 172
 void HAL_init(void);
173 173
 char *dtostrf (double __val, signed char __width, unsigned char __prec, char *__s);
174 174
 #ifdef __cplusplus
175
-}
175
+  }
176 176
 #endif
177 177
 
178 178
 #endif // _HAL_DUE_H

Loading…
Cancel
Save