We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022ffd9 commit 824f82cCopy full SHA for 824f82c
1 file changed
src/VS1053.cpp
@@ -41,7 +41,7 @@ uint16_t VS1053::read_register(uint8_t _reg) const {
41
42
control_mode_on();
43
SPI.write(3); // Read operation
44
- SPI.write(_reg); // Register to write (0..0xF)
+ SPI.write(_reg); // Register to read (0..0xF)
45
// Note: transfer16 does not seem to work
46
result = (SPI.transfer(0xFF) << 8) | // Read 16 bits data
47
(SPI.transfer(0xFF));
0 commit comments