We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160cc4d commit 8774a9eCopy full SHA for 8774a9e
source/daplink/cmsis-dap/DAP.c
@@ -110,9 +110,11 @@ static uint8_t DAP_Info(uint8_t id, uint8_t *info) {
110
((TIMESTAMP_CLOCK != 0U) ? (1U << 5) : 0U) |
111
((SWO_STREAM != 0U) ? (1U << 6) : 0U) |
112
((DAP_UART != 0U) ? (1U << 7) : 0U);
113
-
+ length = 1U;
114
+#if (DAP_UART != 0)
115
info[1] = ((DAP_UART_USB_COM_PORT != 0) ? (1U << 0) : 0U);
116
length = 2U;
117
+#endif
118
break;
119
case DAP_ID_TIMESTAMP_CLOCK:
120
#if (TIMESTAMP_CLOCK != 0U)
0 commit comments