optionschecker
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef options_h
|
||||
#define options_h
|
||||
|
||||
#define VERSION "0.8.112"
|
||||
#define VERSION "0.8.115"
|
||||
|
||||
/*******************************************************
|
||||
DO NOT EDIT THIS FILE.
|
||||
@@ -390,4 +390,6 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
#define L10N_LANGUAGE EN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
21
yoRadio/src/core/optionschecker.h
Normal file
21
yoRadio/src/core/optionschecker.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef optionschecker_h
|
||||
#define optionschecker_h
|
||||
|
||||
#if LED_BUILTIN==TFT_RST
|
||||
# error LED_BUILTIN IS THE SAME AS TFT_RST. Check it in myoptions.h
|
||||
#endif
|
||||
|
||||
#if LED_BUILTIN==VS1053_RST
|
||||
# error LED_BUILTIN IS THE SAME AS VS1053_RST. Check it in myoptions.h
|
||||
#endif
|
||||
|
||||
#if (I2S_DOUT!=255) && (VS1053_CS!=255)
|
||||
# error YOU MUST CHOOSE BETWEEN I2S DAC AND VS1053 BY DISABLING THE SECOND MODULE IN THE myoptions.h
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "src/core/netserver.h"
|
||||
#include "src/core/controls.h"
|
||||
#include "src/core/mqtt.h"
|
||||
#include "src/core/optionschecker.h"
|
||||
|
||||
extern __attribute__((weak)) void yoradio_on_setup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user