Browse Source

HAL style tweak

pull/1/head
Scott Lahteine 7 years ago
parent
commit
61688233c7
  1. 2
      Marlin/src/HAL/HAL_DUE/HAL_Due.cpp
  2. 4
      Marlin/src/HAL/HAL_DUE/HAL_Due.h

2
Marlin/src/HAL/HAL_DUE/HAL_Due.cpp

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

4
Marlin/src/HAL/HAL_DUE/HAL_Due.h

@ -166,13 +166,13 @@ void HAL_enable_AdcFreerun(void);
#define HAL_IDLETASK 1
#define HAL_INIT 1
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
void HAL_idletask(void);
void HAL_init(void);
char *dtostrf (double __val, signed char __width, unsigned char __prec, char *__s);
#ifdef __cplusplus
}
}
#endif
#endif // _HAL_DUE_H

Loading…
Cancel
Save