From 1e9ad3ca0d9bf3e917eb2beb460421155144760a Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 15 Oct 2022 23:55:39 +0100 Subject: Remove buflib allocation names, part two Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a --- firmware/usbstack/usb_storage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/usbstack/usb_storage.c') diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index 08b1f0b7e7..714af9d535 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c @@ -451,8 +451,7 @@ void usb_storage_init_connection(void) unsigned char * buffer; // Add 31 to handle worst-case misalignment - usb_handle = core_alloc_ex("usb storage", - ALLOCATE_BUFFER_SIZE + MAX_CBW_SIZE + 31, + usb_handle = core_alloc_ex(ALLOCATE_BUFFER_SIZE + MAX_CBW_SIZE + 31, &buflib_ops_locked); if (usb_handle < 0) panicf("%s(): OOM", __func__); -- cgit v1.2.3