Skip to content

Commit a9e73f4

Browse files
committed
Fix format and trailing-whitespace
1 parent dd796db commit a9e73f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/raspberrypi/audio_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ STATIC size_t audio_dma_convert_samples(audio_dma_t *dma, uint8_t *input, uint32
123123
mp_raise_RuntimeError(MP_ERROR_TEXT("Audio conversion not implemented"));
124124
}
125125
if (dma->swap_channel){
126-
// Loop for swapping left and right channels
126+
// Loop for swapping left and right channels
127127
for (uint32_t i = 0; i < out_i; i += 2) {
128128
uint16_t temp = ((uint16_t *)output)[i];
129129
((uint16_t *)output)[i] = ((uint16_t *)output)[i + 1];

ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void common_hal_audiopwmio_pwmaudioout_play(audiopwmio_pwmaudioout_obj_t *self,
230230
BITS_PER_SAMPLE,
231231
(uint32_t)tx_register, // output register: PWM cc register
232232
0x3b + pacing_timer, // data request line
233-
self->swap_channel);
233+
self->swap_channel);
234234

235235
if (result == AUDIO_DMA_DMA_BUSY) {
236236
common_hal_audiopwmio_pwmaudioout_stop(self);

0 commit comments

Comments
 (0)