Skip to content

Commit

Permalink
code style cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelrevak committed Nov 11, 2018
1 parent ff3acd4 commit bda3049
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions reg/stm32/_common/exti.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ struct Exti {
}
};

/** Pending register
*/
struct Pr {
Pr(const uint32_t raw=0) { r = raw; }

Expand Down
8 changes: 4 additions & 4 deletions reg/stm32/_common/usart_v2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ struct Usart {
};
};

/** Control register 2
*/
struct Cr2 {
/** Control register 2
*/
Cr2(const uint32_t raw=0) { r = raw; }

struct Bits {
Expand Down Expand Up @@ -89,9 +89,9 @@ struct Usart {
};
};

/** Control register 3
*/
struct Cr3 {
/** Control register 1
*/
Cr3(const uint32_t raw=0) { r = raw; }

struct Bits {
Expand Down

0 comments on commit bda3049

Please sign in to comment.