16 lines
672 B
C
16 lines
672 B
C
//
|
|
// Created by zemon on 06.08.24.
|
|
//
|
|
#include "XfcProtTable.h"
|
|
#include "ComIntPowerManager.h"
|
|
|
|
void XfcProtMethodsAdd_PowerManagerInit(tXfcPower *env, tPowerManagement *power, bool *fl_telematicaIsActive, bool *telematicaServerIsActive){
|
|
env->powerManagement = power;
|
|
env->fl_telematicaIsActive = fl_telematicaIsActive;
|
|
env->fl_telematicaServerIsActive = telematicaServerIsActive;
|
|
}
|
|
|
|
void XfcProtMethodsAdd_PowerManager(tXfcProtTable *protTab, tXfcPower *power) {
|
|
XfcProtTable_AddStatic(protTab, "GET_BAT_VOLTAGE", XfcProtMethod_BattaryVoltageGet, power);
|
|
XfcProtTable_AddStatic(protTab, "GET_BOARD_VOLTAGE", XfcProtMethod_BoardVoltageGet, power);
|
|
} |