Random whitespace/cosmetic/typo fixes.
This commit is contained in:
parent
015df4ae8f
commit
07182332f0
|
@ -347,7 +347,6 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi)
|
|||
g_mutex_clear(&devc->acquisition_mutex);
|
||||
|
||||
return ret;
|
||||
|
||||
}
|
||||
|
||||
static struct sr_dev_driver arachnid_labs_re_load_pro_driver_info = {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the libsigrok project.
|
||||
*
|
||||
* Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
* Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the libsigrok project.
|
||||
*
|
||||
* Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
* Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the libsigrok project.
|
||||
*
|
||||
* Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
* Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the libsigrok project.
|
||||
*
|
||||
* Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
* Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the libsigrok project.
|
||||
*
|
||||
* Copyright (C) 2014-17 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
* Copyright (C) 2014-2017 Kumar Abhishek <abhishek@theembeddedkitchen.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -140,7 +140,7 @@ static struct sr_dev_inst *probe_device(struct sr_modbus_dev_inst *modbus)
|
|||
sdi->status = SR_ST_INACTIVE;
|
||||
sdi->vendor = g_strdup("Maynuo");
|
||||
sdi->model = g_strdup(model->name);
|
||||
sdi->version = g_strdup_printf("v%d.%d", version/10, version%10);
|
||||
sdi->version = g_strdup_printf("v%d.%d", version / 10, version % 10);
|
||||
sdi->conn = modbus;
|
||||
sdi->driver = &maynuo_m97_driver_info;
|
||||
sdi->inst_type = SR_INST_MODBUS;
|
||||
|
|
|
@ -441,7 +441,7 @@ static GSList *do_scan(lps_modelid modelid, struct sr_dev_driver *drv, GSList *o
|
|||
devc->channel_status[cnt].info = g_slist_append(NULL, ch);
|
||||
|
||||
cg = g_malloc(sizeof(struct sr_channel_group));
|
||||
snprintf(channel, sizeof(channel), "CG%d", cnt+1);
|
||||
snprintf(channel, sizeof(channel), "CG%d", cnt + 1);
|
||||
cg->name = g_strdup(channel);
|
||||
cg->priv = NULL;
|
||||
cg->channels = g_slist_append(NULL, ch);
|
||||
|
|
|
@ -167,7 +167,7 @@ SR_PRIV int sr_sessionfile_check(const char *filename)
|
|||
|
||||
return SR_OK;
|
||||
}
|
||||
|
||||
|
||||
/** @private */
|
||||
SR_PRIV struct sr_dev_inst *sr_session_prepare_sdi(const char *filename, struct sr_session **session)
|
||||
{
|
||||
|
|
|
@ -509,7 +509,7 @@ SR_PRIV int usb_get_port_path(libusb_device *dev, char *path, int path_len)
|
|||
}
|
||||
|
||||
/**
|
||||
* Check the USB configuration to determine if this device has a given
|
||||
* Check the USB configuration to determine if this device has a given
|
||||
* manufacturer and product string.
|
||||
*
|
||||
* @return TRUE if the device's configuration profile strings
|
||||
|
|
Loading…
Reference in New Issue