HAL style tweak

This commit is contained in:
Scott Lahteine 2018-02-25 05:00:04 -06:00
parent 19ba91f77a
commit 61688233c7
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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