From 7d7daafc1a84637caf27ee2ddbda915c92d2f264 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sat, 26 Oct 2013 15:20:22 +0200 Subject: Removed DFU leftovers. --- bootloader.cpp | 1 - main.cpp | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/bootloader.cpp b/bootloader.cpp index e9faa63..b9e56b6 100644 --- a/bootloader.cpp +++ b/bootloader.cpp @@ -6,7 +6,6 @@ #include #include #include -#include static uint32_t& reset_reason = *(uint32_t*)0x10000000; static const uint32_t* firmware_vtors = (uint32_t*)0x8002000; diff --git a/main.cpp b/main.cpp index 3a355fc..10c40ca 100644 --- a/main.cpp +++ b/main.cpp @@ -6,7 +6,6 @@ #include #include #include -#include static uint32_t& reset_reason = *(uint32_t*)0x10000000; @@ -162,14 +161,11 @@ auto report_desc = gamepad( ); auto dev_desc = device_desc(0x200, 0, 0, 0, 64, 0x1d50, 0x6080, 0, 1, 2, 3, 1); -auto conf_desc = configuration_desc(2, 1, 0, 0xc0, 0, +auto conf_desc = configuration_desc(1, 1, 0, 0xc0, 0, // HID interface. interface_desc(0, 0, 1, 0x03, 0x00, 0x00, 0, hid_desc(0x111, 0, 1, 0x22, sizeof(report_desc)), endpoint_desc(0x81, 0x03, 16, 1) - ), - interface_desc(1, 0, 0, 0xfe, 0x01, 0x01, 0, - dfu_functional_desc(0x0d, 0, 64, 0x110) ) ); -- cgit v1.2.3