Oliver Fabel 1 rok temu
rodzic
commit
c3c0db603e
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 2 2
      flipperzero/_dialog.py
  2. 2 2
      flipperzero/_speaker.py

+ 2 - 2
flipperzero/_dialog.py

@@ -31,7 +31,7 @@ def dialog_message_set_button(text: str, button: int) -> None:
     Set the text of a dialog box button.
 
     :param text: The text to set.
-    :param button: The button to use (e.g. :const:`flipperzero.INPUT_BUTTON_UP`).
+    :param button: The button to use (e.g. :const:`INPUT_BUTTON_UP`).
 
     .. versionadded:: 1.0.0
     '''
@@ -42,7 +42,7 @@ def dialog_message_show() -> int:
     Display the dialog box with the configured settings.
     This function is blocking.
 
-    :returns: The button code, used to close the dialog box (e.g. :const:`flipperzero.INPUT_BUTTON_OK`)
+    :returns: The button code, used to close the dialog (e.g. :const:`INPUT_BUTTON_OK`)
 
     .. versionadded:: 1.0.0
 

+ 2 - 2
flipperzero/_speaker.py

@@ -773,14 +773,14 @@ The musical note B\ :sub:`0` as frequency in `Hz`.
 .. versionadded:: 1.2.0
 '''
 
-SPEAKER_VOLUME_MIN: float = 0.0
+SPEAKER_VOLUME_MIN: float
 '''
 The minimal volume value.
 
 .. versionadded:: 1.2.0
 '''
 
-SPEAKER_VOLUME_MAX: float = 1.0
+SPEAKER_VOLUME_MAX: float
 '''
 The maximum volume value.