Skip to content

Commit 7a89399

Browse files
committed
docs: Fix speaker2 Hat docs.
Signed-off-by: lbuque <[email protected]>
1 parent ddf668a commit 7a89399

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/en/hats/speaker2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Example output:
5656
Speaker2
5757
^^^^^^^^^
5858

59-
.. autoclass:: unit.speaker2.Speaker2
59+
.. autoclass:: hat.speaker2.Speaker2Hat
6060
:members:
6161

6262
Speaker2 class inherits Speaker class, See :ref:`hardware.Speaker.Methods <hardware.Speaker.Methods>` for more details.

docs/en/refs/hat.speaker2.ref

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
.. |example.png| image:: https://static-cdn.m5stack.com/mpy_docs/hat/speaker2/example.png
1010

11-
.. |stickc_plus2_speaker_example.m5f2| raw:: html
11+
.. |speaker2_stickcplus2_example.m5f2| raw:: html
1212

1313
<a
1414
href="https://uiflow2.m5stack.com/?example=https://raw.githubusercontent.com/m5stack/uiflow-micropython/develop/examples/hat/speaker2/speaker2_stickcplus2_example.m5f2"
1515
target="_blank"
1616
>
17-
stickc_plus2_speaker_example.m5f2
17+
speaker2_stickcplus2_example.m5f2
1818
</a>

0 commit comments

Comments
 (0)