Skip to content

Commit

Permalink
Fix AMA2321
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Oct 27, 2021
1 parent edabe38 commit 1ebbe13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Libraries/AM2321/AM2321.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#define REG_AM2321_TEMPERATURE_LSB 0x03 //温度寄存器低位
#define REG_AM2321_DEVICE_ID_BIT_24_31 0x0B //32位设备ID高8位

template<int I2CADDR, int COMMAND, int REGADDR, int REGCOUNT>
template<uint8_t I2CADDR, uint8_t COMMAND, uint8_t REGADDR, uint8_t REGCOUNT>
class DataReader {
protected:
enum { len = 32 };
Expand Down

0 comments on commit 1ebbe13

Please sign in to comment.