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

This commit is contained in:
Victor Oliveira
2020-09-30 22:14:19 -03:00
committed by Scott Lahteine
parent 059d966d7b
commit 46c8775542
2 changed files with 7 additions and 2 deletions

View File

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