Fix Buzzer (pin) init for uninitialized FastIO (#19559)

This commit is contained in:
Victor Oliveira authored and GitHub committed 2020-09-30 20:14:19 -05:00
1 parent ea78514ff3
commit 5c87762f9e
2 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -84,9 +84,9 @@
public:
/**
* @brief Class constructor
* @brief Init Buzzer
*/
Buzzer() {
static inline void init() {
SET_OUTPUT(BEEPER_PIN);
reset();
}