Skip to content

Commit

Permalink
v0.9.340b
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002 committed Nov 27, 2024
1 parent cac9364 commit 663ece1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ Work is in progress...

---
## Version history
#### v0.9.340b
- fixed compilation error audioVS1053Ex.cpp:181:5: error: 'sdog' was not declared in this scope

#### v0.9.337b (homeassistant component)
- fixed the error of subscribing to mqtt topic on some systems

Expand Down
4 changes: 0 additions & 4 deletions yoRadio/src/audioVS1053/audioVS1053Ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,15 @@ void Audio::control_mode_off()
{
CS_HIGH(); // End control mode
spi_VS1053->endTransaction(); // Allow other SPI users
sdog.giveMutex();
}
void Audio::control_mode_on()
{
sdog.takeMutex();
spi_VS1053->beginTransaction(VS1053_SPI_CTL); // Prevent other SPI users
DCS_HIGH(); // Bring slave in control mode
CS_LOW();
}
void Audio::data_mode_on()
{
sdog.takeMutex();
spi_VS1053->beginTransaction(VS1053_SPI_DATA); // Prevent other SPI users
CS_HIGH(); // Bring slave in data mode
DCS_LOW();
Expand All @@ -199,7 +196,6 @@ void Audio::data_mode_off()
//digitalWrite(dcs_pin, HIGH); // End data mode
DCS_HIGH();
spi_VS1053->endTransaction(); // Allow other SPI users
sdog.giveMutex();
}
//---------------------------------------------------------------------------------------------------------------------
uint16_t Audio::read_register(uint8_t _reg)
Expand Down
2 changes: 1 addition & 1 deletion yoRadio/src/core/options.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h

#define YOVERSION "0.9.337b"
#define YOVERSION "0.9.340b"

/*******************************************************
DO NOT EDIT THIS FILE.
Expand Down

0 comments on commit 663ece1

Please sign in to comment.