HAL style tweak

2.0.x
Scott Lahteine 7 years ago
parent 19ba91f77a
commit 61688233c7

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

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