diff --git a/indi-astarbox/mcp3421.cpp b/indi-astarbox/mcp3421.cpp index 6ef456da7..96f39900c 100644 --- a/indi-astarbox/mcp3421.cpp +++ b/indi-astarbox/mcp3421.cpp @@ -55,6 +55,9 @@ int mcp3421::openMCP3421() } else return nErr; + + return nErr; + } int mcp3421::closeMCP3421() diff --git a/indi-astarbox/mcp3421.h b/indi-astarbox/mcp3421.h index f46f7b711..97276e7d1 100644 --- a/indi-astarbox/mcp3421.h +++ b/indi-astarbox/mcp3421.h @@ -2,6 +2,7 @@ #include #include #include +#include #include #define ADC_ADDR0 0x68