Skip to content

Commit

Permalink
chore: prevent accidental copies of DmaStm (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
andjordan authored Jul 2, 2024
1 parent 8b7b4f8 commit 190bdc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hal_st/stm32fxxx/DmaStm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ namespace hal
public:
DmaStm();
~DmaStm();
DmaStm(const DmaStm& other) = delete;
DmaStm& operator=(const DmaStm& other) = delete;

private:
void ReserveStream(uint8_t dmaIndex, uint8_t streamIndex);
Expand Down

0 comments on commit 190bdc2

Please sign in to comment.