/* Overridable function to determine if the DAP activity should trigger or not the HID LED to flash. Parameters: buf: buffer with DAP request Return Value: 1 if DAP activity should blink the HID LED, 0 otherwise  */
__WEAK uint8_t DAP_activity_blink(const uint8_t *buf)
/* Overridable function to determine if the DAP activity should trigger or not the HID LED to flash. Parameters: buf: buffer with DAP request Return Value: 1 if DAP activity should blink the HID LED, 0 otherwise  */
__WEAK uint8_t DAP_activity_blink(const uint8_t *buf)
{
    return (buf[0] == ID_DAP_UART_Read  ||
            buf[0] == ID_DAP_UART_Write ||
            buf[0] == ID_DAP_MSD_Write) ? 0 : 1;
}