Skip to content

Commit e618441

Browse files
committed
eval the expression vs [un]defined
1 parent 750ffcc commit e618441

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

shared-bindings/audioio/__init__.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
#include "shared-bindings/audioio/__init__.h"
3434
#include "shared-bindings/audioio/AudioOut.h"
3535

36-
#ifdef CIRCUITPY_AUDIOIO_COMPAT
36+
#if CIRCUITPY_AUDIOIO_COMPAT
3737
#include "shared-bindings/audiomixer/Mixer.h"
3838
#include "shared-bindings/audiocore/RawSample.h"
3939
#include "shared-bindings/audiocore/WaveFile.h"
4040
#endif
41-
#ifdef CIRCUIPY_AUDIOMIXER
41+
#if CIRCUITPY_AUDIOMIXER
4242
#include "shared-bindings/audiomixer/Mixer.h"
4343
#endif
4444

@@ -63,8 +63,8 @@
6363
//| call :py:meth:`!deinit` or use a context manager. See
6464
//| :ref:`lifetime-and-contextmanagers` for more info.
6565
//|
66-
//| Since CircuitPython 5, `Mixer`, `RawSample` and `WaveFile` are moved
67-
//| to :mod:`audiocore`.
66+
//| Since CircuitPython 5, `RawSample` and `WaveFile` are moved
67+
//| to :mod:`audiocore`, and `Mixer` is moved to :mod:`audiomixer`.
6868
//|
6969
//| For compatibility with CircuitPython 4.x, some builds allow the items in
7070
//| `audiocore` to be imported from `audioio`. This will be removed for all

0 commit comments

Comments
 (0)