Browse Source

HAL style tweak

Scott Lahteine 7 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
 
81
 
82
 void HAL_clear_reset_source(void) { }
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
   switch ((RSTC->RSTC_SR >> 8) & 7) {
85
   switch ((RSTC->RSTC_SR >> 8) & 7) {
86
     case 0: return RST_POWER_ON; break;
86
     case 0: return RST_POWER_ON; break;
87
     case 1: return RST_BACKUP; break;
87
     case 1: return RST_BACKUP; break;

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

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

Loading…
Cancel
Save