Skip to content

Commit

Permalink
v0.7.540
Browse files Browse the repository at this point in the history
  • Loading branch information
e2002 committed Sep 6, 2022
1 parent da238ea commit dbe0f32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ Work is in progress...

---
## Version history
#### v0.7.540
- fixed compilation error when using NEXTION display with DUMMY display

#### v0.7.534
- added control via uart (see [list of commands](https://github.com/e2002/yoradio/wiki/List-of-available-commands-(UART-telnet-GET-POST))). The uart and telnet commands are the same.
- added additional commands
Expand Down
6 changes: 4 additions & 2 deletions yoRadio/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ void Display::wakeup(){

#ifdef DUMMYDISPLAY
/******************************************************************************************************************/
#ifndef USE_NEXTION
void ticks() {
static bool divrssi;
network.timeinfo.tm_sec ++;
Expand All @@ -698,7 +699,7 @@ void ticks() {
divrssi=true;
}
}

#endif
void Display::bootString(const char* text, byte y) {
#ifdef USE_NEXTION
if(y==2) nextion.bootString(text);
Expand All @@ -712,8 +713,9 @@ void Display::init(){
void Display::start(bool reboot){
#ifdef USE_NEXTION
nextion.start();
#endif
#else
timer.attach_ms(1000, ticks);
#endif
}
void Display::putRequest(requestParams_t request){
#ifdef USE_NEXTION
Expand Down
2 changes: 1 addition & 1 deletion yoRadio/options.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef options_h
#define options_h

#define VERSION "0.7.534"
#define VERSION "0.7.540"

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

0 comments on commit dbe0f32

Please sign in to comment.