mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
[cxx]: Added virtual desctructor in I2C class
Closes https://github.com/espressif/esp-idf/issues/7435
This commit is contained in:
parent
ba15ac8634
commit
50b5ff058c
@ -419,6 +419,7 @@ protected:
|
||||
private:
|
||||
class CompTransferNode {
|
||||
public:
|
||||
virtual ~CompTransferNode() = default;
|
||||
virtual void queue_cmd(i2c_cmd_handle_t handle, uint8_t i2c_addr) = 0;
|
||||
virtual void process_result(std::vector<std::vector<uint8_t> > &read_results) { }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user