Browse Source

Update some HAL comments

pull/1/head
Scott Lahteine 6 years ago
parent
commit
b615b492ba
  1. 9
      Marlin/src/HAL/HAL_STM32/HAL.cpp
  2. 2
      Marlin/src/HAL/HAL_STM32/HAL_Servo_STM32.cpp
  3. 2
      Marlin/src/HAL/HAL_STM32/HAL_spi_STM32.cpp
  4. 2
      Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.cpp
  5. 2
      Marlin/src/HAL/HAL_STM32/persistent_store_impl.cpp
  6. 2
      Marlin/src/HAL/HAL_STM32/watchdog_STM32.cpp

9
Marlin/src/HAL/HAL_STM32/HAL.cpp

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

2
Marlin/src/HAL/HAL_STM32/HAL_Servo_STM32.cpp

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

2
Marlin/src/HAL/HAL_STM32/HAL_spi_STM32.cpp

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

2
Marlin/src/HAL/HAL_STM32/HAL_timers_STM32.cpp

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

2
Marlin/src/HAL/HAL_STM32/persistent_store_impl.cpp

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

2
Marlin/src/HAL/HAL_STM32/watchdog_STM32.cpp

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

Loading…
Cancel
Save