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.
2 parents 193bb7a + 280a20d commit 798b9e7Copy full SHA for 798b9e7
source/daplink/cmsis-dap/DAP.c
@@ -110,9 +110,12 @@ 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
-
+#if ((DAP_UART != 0) && (DAP_UART_USB_COM_PORT != 0))
114
info[1] = ((DAP_UART_USB_COM_PORT != 0) ? (1U << 0) : 0U);
115
length = 2U;
116
+#else
117
+ length = 1U;
118
+#endif
119
break;
120
case DAP_ID_TIMESTAMP_CLOCK:
121
#if (TIMESTAMP_CLOCK != 0U)
0 commit comments