Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisin Dmitriy <d.lisin@thirdpin.io>2019-10-24 11:50:25 +0300
committerLisin Dmitriy <d.lisin@thirdpin.io>2019-10-24 11:50:25 +0300
commit5c14985218ef172b28ad3847f494b378865a48f3 (patch)
treed3a0e9f9b5254a7ee9b8298976a42df5029ccc36
parent88d6ce7a3327ad070ecccd591562df3f2de61b82 (diff)
parent572361340c788cd040107583beb53c33f1542838 (diff)
Merge branch 'feature/usb_endpoints' into 'master'
Feature/usb endpoints See merge request thirdpin_team/libopencm3!2
-rw-r--r--lib/usb/usb_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/usb/usb_private.h b/lib/usb/usb_private.h
index 8e1a091c..a7ebbb9a 100644
--- a/lib/usb/usb_private.h
+++ b/lib/usb/usb_private.h
@@ -41,7 +41,8 @@ LGPL License Terms @ref lgpl_license
#define MAX_USER_CONTROL_CALLBACK 4
#define MAX_USER_SET_CONFIG_CALLBACK 4
-#define ENDPOINT_COUNT 8
+#ifndef ENDPOINT_COUNT
+#define ENDPOINT_COUNT 4
#define MIN(a, b) ((a) < (b) ? (a) : (b))