mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Fix build system for common image
This commit is contained in:
parent
42ef1d2830
commit
7e5f3a7bfe
2 changed files with 1 additions and 6 deletions
|
@ -354,8 +354,3 @@ void SolxpowInverter::send_system_data() { //System equipment information
|
|||
transmit_can_frame(&SOLXPOW_4291, can_config.inverter);
|
||||
#endif
|
||||
}
|
||||
|
||||
void SolxpowInverter::setup(void) { // Performs one time setup at startup over CAN bus
|
||||
strncpy(datalayer.system.info.inverter_protocol, Name, 63);
|
||||
datalayer.system.info.inverter_protocol[63] = '\0';
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
class SolxpowInverter : public CanInverterProtocol {
|
||||
public:
|
||||
void setup();
|
||||
const char* name() override { return Name; }
|
||||
void update_values();
|
||||
void transmit_can(unsigned long currentMillis);
|
||||
void map_can_frame_to_variable(CAN_frame rx_frame);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue