X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmaynuo-m97%2Fapi.c;h=b2f7e11fa2da57c79eeb334ba1f3f8bcb845e09f;hb=62974b235a5c5aeaacad5d28a50aef39f528dccd;hp=494153fa3c6a1fbcc3d9cef2f9626742efade7ea;hpb=c442ffda0fc6fa9bc3c5397a21ef1d04f01a64a1;p=libsigrok.git diff --git a/src/hardware/maynuo-m97/api.c b/src/hardware/maynuo-m97/api.c index 494153fa..b2f7e11f 100644 --- a/src/hardware/maynuo-m97/api.c +++ b/src/hardware/maynuo-m97/api.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #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; }