summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-04-02 23:55:12 +0700
committerGitHub <[email protected]>2026-04-02 23:55:12 +0700
commit9515ba8e795a582f4e62955b8d4398066e2acbb1 (patch)
treeddf641b73c389c82c3de13d0fcd70bfdbf9e7333
parentc0c1566bea34419a8b165a489278114363de5a5e (diff)
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
-rw-r--r--src/portable/raspberrypi/rp2040/rp2040_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.c b/src/portable/raspberrypi/rp2040/rp2040_usb.c
index f5ba81dd7..83ac48ec2 100644
--- a/src/portable/raspberrypi/rp2040/rp2040_usb.c
+++ b/src/portable/raspberrypi/rp2040/rp2040_usb.c
@@ -53,7 +53,7 @@ critical_section_t rp2usb_lock;
//--------------------------------------------------------------------+
// Provide own byte by byte memcpy as not all copies are aligned.
// Use volatile to prevent compiler from widening to 16/32-bit accesses
-// which cause hard fault on RP2350 when dst/src points to USB DPRAM.
+// which cause hard fault on RP2350 when dst/src point to USB DPRAM.
static void unaligned_memcpy(uint8_t *dst, const uint8_t *src, size_t n) {
volatile uint8_t *vdst = dst;
const volatile uint8_t *vsrc = src;