forked from PAWPAW-Mirror/lib_xua
Addition of XUD_PWR_CFG define (required for role-switch)
This commit is contained in:
@@ -769,6 +769,14 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef XUD_PWR_CFG
|
||||
#ifdef SELF_POWERED
|
||||
#define XUD_PWR_CFG XUD_PWR_SELF
|
||||
#else
|
||||
#define XUD_PWR_CFG XUD_PWR_BUS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Mixer defines */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user