Move USB_MAX_POWER_CONSUMPTION
to data driven (#20648)
This commit is contained in:
@@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
/* USB config */
|
||||
#define USB_MAX_POWER_CONSUMPTION 100
|
||||
#define USB_COUNT_SOF 0
|
||||
#define USB_INTR_CFG_SET (1 << ISC01)
|
||||
#define USB_INTR_ENABLE_BIT INT0
|
||||
|
@@ -6,7 +6,8 @@
|
||||
"usb": {
|
||||
"vid": "0xFEED",
|
||||
"pid": "0x3942",
|
||||
"device_version": "0.0.1"
|
||||
"device_version": "0.0.1",
|
||||
"max_power": 100
|
||||
},
|
||||
"processor": "atmega328p",
|
||||
"bootloader": "usbasploader",
|
||||
|
Reference in New Issue
Block a user