debug sleep
This commit is contained in:
@@ -63,7 +63,7 @@ void SoundBoardPinController::write_sound_address(const uint8_t &address) const
|
||||
void SoundBoardPinController::fire_sound() const
|
||||
{
|
||||
PinController::write_pin(this->fire_address, true);
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
PinController::write_pin(this->fire_address, false);
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ void SoundBoardPinController::write_pin(const uint8_t &pin, const bool &value) c
|
||||
{
|
||||
PinController::write_pin(pin, value);
|
||||
PinController::write_pin(this->fire_address, true);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
PinController::write_pin(this->fire_address, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user