forked from PAWPAW-Mirror/lib_xua
BMAX_POWER can now be defined
This commit is contained in:
@@ -186,8 +186,8 @@
|
||||
|
||||
/* Device release number in BCD: 0xJJMNi */
|
||||
#ifndef BCD_DEVICE
|
||||
#define BCD_DEVICE (0x0610)
|
||||
#warning BCD_DEVICE not defined. Using 0x0610
|
||||
#define BCD_DEVICE (0x0620)
|
||||
#warning BCD_DEVICE not defined. Using 0x0620
|
||||
#endif
|
||||
|
||||
/* Addition interfaces based on defines */
|
||||
@@ -290,6 +290,14 @@
|
||||
|
||||
#define MAX_VOL (0x20000000)
|
||||
|
||||
#ifdef SELF_POWERED
|
||||
#define BMAX_POWER 0
|
||||
#else
|
||||
#ifndef BMAX_POWER
|
||||
#define BMAX_POWER 250
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Length of clock unit/clock-selector units */
|
||||
#if defined(SPDIF_RX) && defined(ADAT_RX)
|
||||
|
||||
Reference in New Issue
Block a user