Skip to content

Commit eb876e2

Browse files
committed
nrf: code style
1 parent 011acf4 commit eb876e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/nrf/common-hal/audiobusio/I2SOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static void i2s_buffer_fill(audiobusio_i2sout_obj_t* self) {
159159

160160
// Find the last frame of real audio data and replicate its samples until
161161
// you have 32 bits worth, which is the fundamental unit of nRF I2S DMA
162-
if(buffer != buffer_start) {
162+
if (buffer != buffer_start) {
163163
if (self->bytes_per_sample == 1 && self->channel_count == 1) {
164164
// For 8-bit mono, 4 copies of the final sample are required
165165
self->hold_value = 0x01010101 * *(uint8_t*)(buffer-1);

0 commit comments

Comments
 (0)