/*
* This file is part of the sigrok project.
*
- * Copyright (C) 2010 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
*
* 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
continue;
}
- device = sr_device_new(plugin, i);
+ device = sr_dev_new(plugin, i);
for (j = 0; j < num_probes; j++)
- sr_device_probe_add(device, probe_names[j]);
+ sr_dev_probe_add(device, probe_names[j]);
num_initialized_devices++;
}