Improved thread lifecycle (#2534)
* Core, Thread: mark thread to join from prvDeleteTCB * USB HAL: move vars to MEM2 * Core, Thread: cleanup sources * Cli: add magic delays on rx pipe error, prevent cli from consuming processor time * Furi: update thread documentation Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -73,12 +73,11 @@ typedef enum {
|
||||
#define USB_SRV_ALL_EVENTS (UsbEventReset | UsbEventRequest | UsbEventMessage)
|
||||
|
||||
PLACE_IN_SECTION("MB_MEM2") static UsbSrv usb = {0};
|
||||
PLACE_IN_SECTION("MB_MEM2") static uint32_t ubuf[0x20];
|
||||
PLACE_IN_SECTION("MB_MEM2") usbd_device udev;
|
||||
|
||||
static const struct usb_string_descriptor dev_lang_desc = USB_ARRAY_DESC(USB_LANGID_ENG_US);
|
||||
|
||||
static uint32_t ubuf[0x20];
|
||||
usbd_device udev;
|
||||
|
||||
static int32_t furi_hal_usb_thread(void* context);
|
||||
static usbd_respond usb_descriptor_get(usbd_ctlreq* req, void** address, uint16_t* length);
|
||||
static void reset_evt(usbd_device* dev, uint8_t event, uint8_t ep);
|
||||
|
Reference in New Issue
Block a user