Skip to content

Commit

Permalink
Updated class constructor names
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckle29 authored and jeremycole committed Sep 14, 2020
1 parent c354953 commit 3c560d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Temperature_LM75_Derived.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ class OnSemi_NCTx75 : public Generic_LM75_12Bit {
};

public:
OnSemi_OneShot(TwoWire *bus = &Wire, uint8_t i2c_address = DEFAULT_I2C_ADDRESS)
OnSemi_NCTx75(TwoWire *bus = &Wire, uint8_t i2c_address = DEFAULT_I2C_ADDRESS)
: Generic_LM75_12Bit(bus, i2c_address) { };

OnSemi_OneShot(uint8_t i2c_address)
OnSemi_NCTx75(uint8_t i2c_address)
: Generic_LM75_12Bit(&Wire, i2c_address) { };

void enableOneShotMode() {
Expand Down

0 comments on commit 3c560d8

Please sign in to comment.