Merge branch 'mega' into feature/p119-p120-plugin-itg3205-and-adxl345-development

This commit is contained in:
Ton Huisman
2022-01-03 13:12:02 +01:00
committed by GitHub
3 changed files with 32 additions and 1 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
#else // if defined(PLUGIN_BUILD_TESTING) || defined(PLUGIN_BUILD_DEV)
# ifdef ESP32
# ifdef PLUGIN_BUILD_MAX_ESP32
# define DEVICES_MAX 125
# define DEVICES_MAX 135
# else // ifdef PLUGIN_BUILD_MAX_ESP32
# define DEVICES_MAX 100
# endif // ifdef PLUGIN_BUILD_MAX_ESP32
+30
View File
@@ -1449,6 +1449,36 @@ To create/register a plugin, you have to :
#ifndef USES_P125
#define USES_P125 //
#endif
#ifndef USES_P126
#define USES_P126 //
#endif
#ifndef USES_P127
#define USES_P127 //
#endif
#ifndef USES_P128
#define USES_P128 //
#endif
#ifndef USES_P129
#define USES_P129 //
#endif
#ifndef USES_P130
#define USES_P130 //
#endif
#ifndef USES_P131
#define USES_P131 //
#endif
#ifndef USES_P132
#define USES_P132 //
#endif
#ifndef USES_P133
#define USES_P133 //
#endif
#ifndef USES_P134
#define USES_P134 //
#endif
#ifndef USES_P135
#define USES_P135 //
#endif
// Controllers
#ifndef USES_C015
+1
View File
@@ -5,6 +5,7 @@
#include "../Globals/SecuritySettings.h"
#include "../Globals/Services.h"
#include "../Globals/Settings.h"
#include "../Helpers/Hardware.h"
#include "../Helpers/Misc.h"
bool OTA_possible(uint32_t& maxSketchSize, bool& use2step) {