Commit bc7b9236 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Code cleanup to sort out warnings.

I2S constants have changed; docs updated.
parent dff32e89
...@@ -71,11 +71,9 @@ i2s.start(i2s_num, cfg, cb) ...@@ -71,11 +71,9 @@ i2s.start(i2s_num, cfg, cb)
- `i2s.CHANNEL_ONLY_LEFT` - `i2s.CHANNEL_ONLY_LEFT`
- `i2s.CHANNEL_ALL_RIGHT` - `i2s.CHANNEL_ALL_RIGHT`
- `i2s.CHANNEL_ONLY_RIGHT` - `i2s.CHANNEL_ONLY_RIGHT`
- `format` communication format. Optional, defaults to `i2s.FORMAT_I2S + i2s.FORMAT_I2S_MSB` when omitted. - `format` communication format. Optional, defaults to `i2s.FORMAT_I2S_STANDARD` when omitted.
- `i2s.FORMAT_I2S` - `i2s.FORMAT_I2S_STANDARD`
- `i2s.FORMAT_I2S_MSB` - `i2s.FORMAT_I2S_MSB`
- `i2s.FORMAT_I2S_LSB`
- `i2s.FORMAT_PCM`
- `i2s.FORMAT_PCM_SHORT` - `i2s.FORMAT_PCM_SHORT`
- `i2s.FORMAT_PCM_LONG` - `i2s.FORMAT_PCM_LONG`
- `buffer_count` number of dma buffers. Optional, defaults to 2 when omitted. - `buffer_count` number of dma buffers. Optional, defaults to 2 when omitted.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment