diff options
| author | hathach <[email protected]> | 2026-02-10 11:43:32 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-02-10 11:43:32 +0700 |
| commit | 7b934efa0d1bd7950c651a150b23b57d543cbaa6 (patch) | |
| tree | fff6f89aa5db16184809076f888b78496b74aea4 /examples/device | |
| parent | e7c71fefa7576e971c6bb05c1a5bab6075bd044f (diff) | |
| parent | f5424c569ddc673a9c23b78febceed8f7f098509 (diff) | |
Merge branch 'refs/heads/master' into copilot/improve-build-steps-rp2040-esp32
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/dfu/skip.txt | 2 | ||||
| -rw-r--r-- | examples/device/mtp/src/mtp_fs_example.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/dfu/skip.txt b/examples/device/dfu/skip.txt index 9dde06c30..79d3da9d2 100644 --- a/examples/device/dfu/skip.txt +++ b/examples/device/dfu/skip.txt @@ -1,3 +1,3 @@ -mcu:TM4C123 +mcu:TM4C mcu:BCM2835 family:espressif diff --git a/examples/device/mtp/src/mtp_fs_example.c b/examples/device/mtp/src/mtp_fs_example.c index 7fd7db61b..60fc9f79e 100644 --- a/examples/device/mtp/src/mtp_fs_example.c +++ b/examples/device/mtp/src/mtp_fs_example.c @@ -557,7 +557,7 @@ static int32_t fs_send_object_info(tud_mtp_cb_data_t* cb_data) { return MTP_RESP_INVALID_STORAGE_ID; } - if (obj_info->parent_object != 0) { // not root + if (obj_info->parent_object != 0 && obj_info->parent_object != 0xFFFFFFFFu) { // not root fs_file_t* parent = fs_get_file(obj_info->parent_object); if (parent == NULL || 0u == parent->association_type) { return MTP_RESP_INVALID_PARENT_OBJECT; |
