mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
remove unused defines, refactor vbus power enum
This commit is contained in:
parent
af4302f360
commit
52445a97d7
2 changed files with 2 additions and 5 deletions
|
@ -27,9 +27,6 @@ e-mail : support@circuitsathome.com
|
||||||
|
|
||||||
//#define MAX_GPX 8
|
//#define MAX_GPX 8
|
||||||
|
|
||||||
#define ON true
|
|
||||||
#define OFF false
|
|
||||||
|
|
||||||
#define SE0 0
|
#define SE0 0
|
||||||
#define SE1 1
|
#define SE1 1
|
||||||
#define FSHOST 2
|
#define FSHOST 2
|
||||||
|
|
|
@ -60,8 +60,8 @@ typedef SPi< Pb7, Pb5, Pb6, Pb4 > spi;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef enum VBUS_t {
|
typedef enum VBUS_t {
|
||||||
on = 0,
|
vbus_on = 0,
|
||||||
off = GPX_VBDET
|
vbus_off = GPX_VBDET
|
||||||
};
|
};
|
||||||
|
|
||||||
template< typename SS, typename INTR > class MAX3421e /* : public spi */ {
|
template< typename SS, typename INTR > class MAX3421e /* : public spi */ {
|
||||||
|
|
Loading…
Reference in a new issue