mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 06:16:00 +03:00
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:
1 parent
072daddf98
commit
1605564489
7 files changed
+26
-4
No files matched your search
@@ -25,8 +25,6 @@
|
||||
#include "string.h"
|
||||
#include "inttypes.h"
|
||||
|
||||
#include "simtrace.h"
|
||||
|
||||
#define MIN(a, b) ((a < b) ? a : b)
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
Reference in new issue
Block a user