From 100bea6b41df0937c93046c3b2b5afc49b1588d8 Mon Sep 17 00:00:00 2001 From: Wojciech Pietraszewski Date: Thu, 21 Nov 2024 18:23:16 +0100 Subject: [PATCH] Fix typos Amends the typo in the `INACTIVE` field in `Audio Input Status` characteristic. Amends the typo in the log message of `_set_gain_settings` method. --- bumble/profiles/aics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumble/profiles/aics.py b/bumble/profiles/aics.py index 2636a4f6..d616907c 100644 --- a/bumble/profiles/aics.py +++ b/bumble/profiles/aics.py @@ -95,7 +95,7 @@ class AudioInputStatus(OpenIntEnum): Cf. 3.4 Audio Input Status ''' - INATIVE = 0x00 + INACTIVE = 0x00 ACTIVE = 0x01 @@ -239,7 +239,7 @@ class AudioInputControlPoint: or gain_settings_operand > self.gain_settings_properties.gain_settings_maximum ): - logger.error("gain_seetings value out of range") + logger.error("gain_settings value out of range") raise ATT_Error(ErrorCode.VALUE_OUT_OF_RANGE) if self.audio_input_state.gain_settings != gain_settings_operand: