mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-22 03:22:48 -05:00
rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3867cf9181
commit
7fb11a82a1
8 changed files with 31 additions and 367 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#include <windows.h>
|
||||
#include <setupapi.h>
|
||||
#endif
|
||||
#include "utils.h"
|
||||
#include "detect.h"
|
||||
|
||||
Autodetection::Autodetection(QObject* parent): QObject(parent)
|
||||
{
|
||||
|
|
@ -267,7 +267,7 @@ bool Autodetection::detectUsb()
|
|||
|
||||
// usb pid detection
|
||||
QList<uint32_t> attached;
|
||||
attached = listUsbIds();
|
||||
attached = Detect::listUsbIds();
|
||||
|
||||
int i = attached.size();
|
||||
while(i--) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue