]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/maynuo-m97/api.c
Set DSLogic in logic analyzer mode.
[libsigrok.git] / src / hardware / maynuo-m97 / api.c
index 494153fa3c6a1fbcc3d9cef2f9626742efade7ea..b2f7e11fa2da57c79eeb334ba1f3f8bcb845e09f 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include "protocol.h"
 
 static const uint32_t scanopts[] = {
@@ -134,7 +135,7 @@ static struct sr_dev_inst *probe_device(struct sr_modbus_dev_inst *modbus)
                        break;
                }
        if (model == NULL) {
-               sr_err("Unkown model: %d.", id);
+               sr_err("Unknown model: %d.", id);
                return NULL;
        }