diff options
Diffstat (limited to 'board/twinkie/sniffer.c')
-rw-r--r-- | board/twinkie/sniffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/twinkie/sniffer.c b/board/twinkie/sniffer.c index e6a0cff0a4..e1f2d5c8c2 100644 --- a/board/twinkie/sniffer.c +++ b/board/twinkie/sniffer.c @@ -289,8 +289,8 @@ void sniffer_task(void) } ep_buf[u][0] = sample_seq[d >> 3] | (d & 7); ep_buf[u][1] = sample_tstamp[d >> 3]; - memcpy_usbram(ep_buf[u] + 2, - samples[d >> 4]+off, EP_PAYLOAD_SIZE); + memcpy_to_usbram(ep_buf[u] + 2, + samples[d >> 4]+off, EP_PAYLOAD_SIZE); atomic_clear((uint32_t *)&free_usb, 1 << u); u = !u; atomic_clear((uint32_t *)&filled_dma, 1 << d); |