Revision 360e3b6c scout/libscout/src/LinesensorControl.cpp

View differences:

scout/libscout/src/LinesensorControl.cpp
74 74

  
75 75
    vector<uint32_t> readings = query();
76 76

  
77
    if (readings.size() < 8)
78
    {
79
        return last_ret;
80
    }
81

  
77 82
    for (int i = 0; i < 8; i++)
78 83
    {
79 84
        total_read += readings[i];

Also available in: Unified diff