mirror of
https://github.com/adafruit/Adafruit_Sensor.git
synced 2025-07-30 15:27:12 +02:00
add default constructor in place of constructor() method
This commit is contained in:
@ -1,5 +1,2 @@
|
||||
#include "Adafruit_Sensor.h"
|
||||
#include <avr/pgmspace.h>
|
||||
|
||||
void Adafruit_Sensor::constructor() {
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ typedef struct
|
||||
class Adafruit_Sensor {
|
||||
public:
|
||||
// Constructor(s)
|
||||
void constructor();
|
||||
Adafruit_Sensor() {}
|
||||
virtual ~Adafruit_Sensor() {}
|
||||
|
||||
// These must be defined by the subclass
|
||||
|
Reference in New Issue
Block a user