Fix typo with notification

This commit is contained in:
Luc 2019-09-08 15:43:54 +02:00
parent 7b2d4612df
commit 8c7b237c09
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
*/ */
//version and sources location //version and sources location
#define FW_VERSION "2.1.0.b38" #define FW_VERSION "2.1.0.b39"
#define REPOSITORY "https://github.com/luc-github/ESP3D" #define REPOSITORY "https://github.com/luc-github/ESP3D"
//Customize ESP3D //////////////////////////////////////////////////////////////////////// //Customize ESP3D ////////////////////////////////////////////////////////////////////////

View File

@ -424,7 +424,7 @@ bool NotificationsService::begin()
return false; return false;
break; break;
} }
if (CONFIG::read_byte (ESP_NOTIFICATION_TYPE, &bbuf ) ) { if (CONFIG::read_byte (ESP_AUTO_NOTIFICATION, &bbuf ) ) {
_autonotification = (bbuf == 0) ? false: true; _autonotification = (bbuf == 0) ? false: true;
} }
if (!res) { if (!res) {