Skip to content

Commit

Permalink
chore: remove duplicated lpuart struct (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
andjordan committed Aug 31, 2024
1 parent 08bbf95 commit ad1e53a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion hal_st/stm32fxxx/UartStm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "hal/interfaces/SerialCommunication.hpp"
#include "hal_st/cortex/InterruptCortex.hpp"
#include "hal_st/stm32fxxx/GpioStm.hpp"
#include "infra/util/Optional.hpp"

namespace hal
{
Expand Down
8 changes: 1 addition & 7 deletions hal_st/stm32fxxx/UartStmDma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@
#include "hal_st/cortex/InterruptCortex.hpp"
#include "hal_st/stm32fxxx/DmaStm.hpp"
#include "hal_st/stm32fxxx/GpioStm.hpp"
#include "hal_st/stm32fxxx/UartStm.hpp"
#include <cstdint>

#include DEVICE_HEADER

namespace hal
{
#if defined(HAS_PERIPHERAL_LPUART)
struct LpUart
{};

extern const LpUart lpUart;
#endif

namespace detail
{

Expand Down

0 comments on commit ad1e53a

Please sign in to comment.