Skip to content

ADS1015 Issue Causes Powertools to Not Compile When CMAKE in DEBUG Mode

Noah Grayson Zisser requested to merge nz_ADS into devel

Screen_Shot_2021-09-22_at_12.06.03 m_maxValue was instantiated and set to 0x7FF in ADS1015.h, which causes the compiling of Powertools to error when CMAKE is in Debug mode. If m_maxValue is only instantiated in the header and then set in ADS1015.cpp this error doesn't occur.

Edited by Noah Grayson Zisser

Merge request reports