M3: fixed gain bits with negative polarity

This commit is contained in:
Erik Frojdh
2021-04-12 16:44:47 +02:00
parent d9cd780386
commit be5fee8126
14 changed files with 97 additions and 9 deletions

View File

@ -1992,7 +1992,7 @@ std::string CmdProxy::GainCaps(int action){
if (!args.empty())
WrongNumberOfParameters(0);
auto tmp = det->getChipStatusRegister();
auto tmp = det->getGainCaps();
sls::Result<defs::M3_GainCaps> csr;
for (auto val : tmp){
if (val)