Skip to content

Commit 824f82c

Browse files
authored
Adjust code documentation (#96)
1 parent 022ffd9 commit 824f82c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VS1053.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ uint16_t VS1053::read_register(uint8_t _reg) const {
4141

4242
control_mode_on();
4343
SPI.write(3); // Read operation
44-
SPI.write(_reg); // Register to write (0..0xF)
44+
SPI.write(_reg); // Register to read (0..0xF)
4545
// Note: transfer16 does not seem to work
4646
result = (SPI.transfer(0xFF) << 8) | // Read 16 bits data
4747
(SPI.transfer(0xFF));

0 commit comments

Comments
 (0)