fix compilation issues
This commit is contained in:
parent
544e930a3a
commit
3fd026d9bb
|
@ -45,11 +45,6 @@ bool AnalogCard::getDACState(uint8_t pin)
|
|||
return this->dac_state[pin];
|
||||
}
|
||||
|
||||
uint16_t AnalogCard::getDACValue(uint8_t pin)
|
||||
{
|
||||
return this->dac_value[pin];
|
||||
}
|
||||
|
||||
void AnalogCard::sendDataToDAC(uint8_t pin, uint16_t value)
|
||||
{
|
||||
switch (pin)
|
||||
|
|
|
@ -187,10 +187,6 @@ bool AnalogIoT::processRequestStateMessage(char *topic, char *payload, uint8_t t
|
|||
this->publishADCs();
|
||||
return false;
|
||||
}
|
||||
void AnalogIoT::publishReport() {
|
||||
publishADCs();
|
||||
publishDACs();
|
||||
}
|
||||
void AnalogIoT::subscribe() {
|
||||
// There are 4 DACs and 8 ADCs
|
||||
// DACs: dac/<%02d>/set/state, dac/<%02d>/set/value, dac/publish_enable
|
||||
|
|
|
@ -38,8 +38,6 @@ class AnalogIoT : public IoTComponent {
|
|||
void publishReport();
|
||||
void subscribe();
|
||||
void loop();
|
||||
void publishReport();
|
||||
void subscribe();
|
||||
uint8_t getType();
|
||||
private:
|
||||
uint8_t dac_set_state_length;
|
||||
|
|
Loading…
Reference in New Issue