mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 15:36:38 +02:00
0.8.51
* fix translation #1346 * further improve sending active power control command faster #1332 * added history protection mask
This commit is contained in:
parent
e4cb948be4
commit
76fa30503d
15 changed files with 41 additions and 69 deletions
|
@ -1,5 +1,5 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// 2024 Ahoy, https://www.mikrocontroller.net/topic/525778
|
||||
// 2024 Ahoy, https://ahoydtu.de
|
||||
// Creative Commons - http://creativecommons.org/licenses/by-nc-sa/4.0/deed
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
|||
#define MAX_GRID_LENGTH 150
|
||||
|
||||
#include "hmDefines.h"
|
||||
#include "../appInterface.h"
|
||||
#include "HeuristicInv.h"
|
||||
#include "../hms/hmsDefines.h"
|
||||
#include <memory>
|
||||
|
@ -148,8 +149,9 @@ class Inverter {
|
|||
bool commEnabled; // 'pause night communication' sets this field to false
|
||||
uint32_t tsMaxAcPower; // holds the timestamp when the MaxAC power was seen
|
||||
|
||||
static uint32_t *timestamp; // system timestamp
|
||||
static uint32_t *timestamp; // system timestamp
|
||||
static cfgInst_t *generalConfig; // general inverter configuration from setup
|
||||
static IApp *app; // pointer to app interface
|
||||
|
||||
public:
|
||||
|
||||
|
@ -286,6 +288,7 @@ class Inverter {
|
|||
if(isConnected) {
|
||||
mDevControlRequest = true;
|
||||
devControlCmd = cmd;
|
||||
app->triggerTickSend();
|
||||
}
|
||||
return isConnected;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue