mirror of https://github.com/commaai/panda.git
enum
This commit is contained in:
parent
ab260a3849
commit
80e3033e73
|
@ -7,7 +7,10 @@
|
|||
#define PULL_UP 1
|
||||
#define PULL_DOWN 2
|
||||
|
||||
#define OUTPUT_TYPE_OPEN_DRAIN 1U
|
||||
enum {
|
||||
OUTPUT_TYPE_PUSH_PULL = 0U,
|
||||
OUTPUT_TYPE_OPEN_DRAIN = 1U,
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
GPIO_TypeDef * const bank;
|
||||
|
|
Loading…
Reference in New Issue