Skip to content

Commit

Permalink
Merge pull request #2 from ankoski/feature/px4receiver_open_order
Browse files Browse the repository at this point in the history
Px4Receiver ISDB_T の Open順序によって Drop が発生することがある問題を修正
  • Loading branch information
tsukumijima authored Jul 8, 2023
2 parents 623f4e5 + c1ffdee commit 01caed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions winusb/src/DriverHost_PX4/receiver_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#pragma once

#include <shared_mutex>
#include <unordered_map>
#include <map>

#include "command.hpp"
#include "receiver_base.hpp"
Expand Down Expand Up @@ -38,7 +38,7 @@ class ReceiverManager final {
bool GenerateDataId(px4::ReceiverBase *receiver, std::uint32_t &data_id);

std::shared_mutex mtx_;
std::unordered_map<px4::ReceiverBase*, ReceiverData> data_;
std::map<px4::ReceiverBase*, ReceiverData> data_;
};

} // namespace px4

0 comments on commit 01caed9

Please sign in to comment.