summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-05-13 10:40:41 -0500
committerJeff Epler <jepler@gmail.com>2020-05-13 10:40:41 -0500
commiteb876e21c317e19537eeeb6937b058c17d82d582 (patch)
tree0e3086bc493458b6667a32e4b9c2772a8bdce722
parent011acf41c0d5c369fabf5a45976c63b433baa546 (diff)
nrf: code style
-rw-r--r--ports/nrf/common-hal/audiobusio/I2SOut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/nrf/common-hal/audiobusio/I2SOut.c b/ports/nrf/common-hal/audiobusio/I2SOut.c
index 9db650453..34eecf8d5 100644
--- a/ports/nrf/common-hal/audiobusio/I2SOut.c
+++ b/ports/nrf/common-hal/audiobusio/I2SOut.c
@@ -159,7 +159,7 @@ static void i2s_buffer_fill(audiobusio_i2sout_obj_t* self) {
// Find the last frame of real audio data and replicate its samples until
// you have 32 bits worth, which is the fundamental unit of nRF I2S DMA
- if(buffer != buffer_start) {
+ if (buffer != buffer_start) {
if (self->bytes_per_sample == 1 && self->channel_count == 1) {
// For 8-bit mono, 4 copies of the final sample are required
self->hold_value = 0x01010101 * *(uint8_t*)(buffer-1);