usb: don't use CONFIDENTIAL inside DEBUG_LINK code

This will make confidential sections identical for production and debug build.
pull/25/head
Pavol Rusnak 6 years ago
parent 4ac99f3470
commit 34aad724f0
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -299,7 +299,7 @@ static void u2f_rx_callback(usbd_device *dev, uint8_t ep)
static void debug_rx_callback(usbd_device *dev, uint8_t ep)
{
(void)ep;
static CONFIDENTIAL uint8_t buf[64] __attribute__ ((aligned(4)));
static uint8_t buf[64] __attribute__ ((aligned(4)));
if ( usbd_ep_read_packet(dev, ENDPOINT_ADDRESS_DEBUG_OUT, buf, 64) != 64) return;
debugLog(0, "", "debug_rx_callback");
if (!tiny) {

Loading…
Cancel
Save