Removes typo

This commit is contained in:
HarvsG 2024-07-23 13:12:07 +01:00 committed by GitHub
parent 4c444c8440
commit 03cc0d0c78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,7 +90,7 @@ class VoiceAssistant : public Component {
#ifdef USE_SPEAKER #ifdef USE_SPEAKER
void set_speaker(speaker::Speaker *speaker) { void set_speaker(speaker::Speaker *speaker) {
this->speaker_ = speaker; this->speaker_ = speaker;
this->local_output_ = (this->speaker_ != nullptr)l this->local_output_ = (this->speaker_ != nullptr);
} }
#endif #endif
#ifdef USE_MEDIA_PLAYER #ifdef USE_MEDIA_PLAYER