mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/lib/: split non-SPI code from atusb.c in preparation for SPI-based driver
- atusb.c (atusb_error, atusb_clear_error, atusb_open, atusb_close, atusb_reset, atusb_reset_rf, atusb_test_mode, atusb_slp_tr, atusb_interrupt, atusb_set_clkm, atusb_dev_handle): moved to atusb-common.c - atusb-common.c (atusb_set_clkm): pass atusb_reg_write via atusb_driver.reg_write instead - atusb.c (FROM_DEV, TO_DEV, struct atusb_dsc): moved to atusb-common.h - Makefile (OBJS): added atusb-common.o
This commit is contained in:
@@ -15,7 +15,7 @@ LIB = libatrf.a
|
||||
|
||||
include ../Makefile.common
|
||||
|
||||
OBJS_host = atusb.o usbopen.o
|
||||
OBJS_host = atusb.o atusb-common.o usbopen.o
|
||||
OBJS_ben_jlime = atben.o
|
||||
OBJS_ben_openwrt = atben.o
|
||||
|
||||
|
||||
Reference in New Issue
Block a user