1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Made MSC initialisation pin configurable. (#5535)

This commit is contained in:
Michael Keller 2018-03-27 01:04:59 +13:00 committed by GitHub
parent 605962d9a5
commit 83e614c139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 99 additions and 69 deletions

View file

@ -17,6 +17,8 @@
#pragma once
#include "drivers/io_types.h"
#include "pg/pg.h"
enum USB_DEV {
@ -26,6 +28,8 @@ enum USB_DEV {
typedef struct usbDev_s {
uint8_t type;
ioTag_t mscButtonPin;
uint8_t mscButtonUsePullup;
} usbDev_t;
PG_DECLARE(usbDev_t, usbDevice);
PG_DECLARE(usbDev_t, usbDevConfig);