mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
atusb/fw/include/atusb/usb-ids.h: remove (and adapt former users)
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include "atusb/ep0.h"
|
||||
#include "atusb/usb-ids.h"
|
||||
|
||||
#include "at86rf230.h"
|
||||
#include "usbopen.h"
|
||||
@@ -61,7 +60,7 @@ void *atusb_open(const char *arg)
|
||||
usb_unrestrict();
|
||||
if (arg)
|
||||
restrict_usb_path(arg);
|
||||
dev = open_usb(USB_VENDOR, USB_PRODUCT);
|
||||
dev = open_usb(ATUSB_VENDOR_ID, ATUSB_PRODUCT_ID);
|
||||
if (!dev) {
|
||||
if (errno == EPERM)
|
||||
fprintf(stderr, "Permission denied. "
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* lib/atusb_spi.c - ATRF access functions library (USB-SPI version)
|
||||
*
|
||||
* Written 2010-2011 by Werner Almesberger
|
||||
* Copyright 2010-2011 Werner Almesberger
|
||||
* Written 2010-2011, 2013 by Werner Almesberger
|
||||
* Copyright 2010-2011, 2013 Werner Almesberger
|
||||
*
|
||||
* 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
|
||||
@@ -18,7 +18,6 @@
|
||||
#include <usb.h>
|
||||
|
||||
#include "atusb/ep0.h"
|
||||
#include "atusb/usb-ids.h"
|
||||
|
||||
#include "usbopen.h"
|
||||
#include "at86rf230.h"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* lib/atusb.c - ATUSB access functions library (USB version)
|
||||
*
|
||||
* Written 2010-2011 by Werner Almesberger
|
||||
* Copyright 2010-2011 Werner Almesberger
|
||||
* Written 2010-2011, 2013 by Werner Almesberger
|
||||
* Copyright 2010-2011, 2013 Werner Almesberger
|
||||
*
|
||||
* 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
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <usb.h>
|
||||
|
||||
#include "atusb/ep0.h"
|
||||
#include "atusb/usb-ids.h"
|
||||
|
||||
#include "usbopen.h"
|
||||
#include "driver.h"
|
||||
|
||||
Reference in New Issue
Block a user