Update some HAL comments

This commit is contained in:
Scott Lahteine 2019-06-28 23:04:33 -05:00
parent f39d025a80
commit b615b492ba
6 changed files with 7 additions and 12 deletions

View file

@ -23,11 +23,6 @@
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC) #if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
// --------------------------------------------------------------------------
// Includes
// --------------------------------------------------------------------------
#include "HAL.h" #include "HAL.h"
#include "../../inc/MarlinConfig.h" #include "../../inc/MarlinConfig.h"
@ -41,7 +36,7 @@
#else #else
#error "EEPROM_EMULATED_WITH_SRAM is currently only supported for STM32F4xx and STM32F7xx" #error "EEPROM_EMULATED_WITH_SRAM is currently only supported for STM32F4xx and STM32F7xx"
#endif #endif
#endif // EEPROM_EMULATED_WITH_SRAM #endif
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Externals // Externals
@ -146,4 +141,4 @@ uint16_t HAL_adc_get_result(void) {
return HAL_adc_result; return HAL_adc_result;
} }
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC

View file

@ -54,4 +54,4 @@ void libServo::move(const int value) {
} }
#endif // HAS_SERVOS #endif // HAS_SERVOS
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC

View file

@ -152,4 +152,4 @@ void spiSendBlock(uint8_t token, const uint8_t* buf) {
#endif // SOFTWARE_SPI #endif // SOFTWARE_SPI
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC

View file

@ -115,4 +115,4 @@ bool HAL_timer_interrupt_enabled(const uint8_t timer_num) {
return NVIC->ISER[IRQ_Id >> 5] & _BV32(IRQ_Id & 0x1F); return NVIC->ISER[IRQ_Id >> 5] & _BV32(IRQ_Id & 0x1F);
} }
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC

View file

@ -115,4 +115,4 @@ size_t PersistentStore::capacity() {
} }
#endif // EEPROM_SETTINGS #endif // EEPROM_SETTINGS
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC

View file

@ -39,4 +39,4 @@
} }
#endif // USE_WATCHDOG #endif // USE_WATCHDOG
#endif // ARDUINO_ARCH_STM32 #endif // ARDUINO_ARCH_STM32 && !STM32GENERIC