ensure USB config numbers always start from 1

Depending on which features (and thus USB configurations) are included
in the firmware, we need to re-define the ordering of the configuration
numbers, as the Atmel USBD driver simply assumes that configurations are
numbered 1..N without any gaps in the sequence.
This commit is contained in:
Harald Welte
2016-03-03 11:02:45 +01:00
parent 072daddf98
commit 1605564489
7 changed files with 26 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
#define TRACE_LEVEL 5
#include "board.h"
#include "simtrace.h"
#include "utils.h"
#include "req_ctx.h"