Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
odinthenerd committed Mar 30, 2016
1 parent 2f30ecc commit 361819b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/usb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,19 +211,19 @@ namespace Usb
{
struct MocHal
{
static void enableEP0Out(bool data1) { events_.emplace_back(Type::enableEp0, ::Packet{}); }
static void enableEP0Out(bool data1) { events_.emplace_back(::Type::enableEp0, ::Packet{}); }
static void setAddress(uint8_t address)
{
events_.emplace_back(Type::setAddress, ::Packet{});
events_.emplace_back(::Type::setAddress, ::Packet{});
}
template <typename T, EndpointDirection Direction, EndpointType Type>
static void activateEndpoint()
{
events_.emplace_back(Type::activateEndpoint, ::Packet{});
events_.emplace_back(::Type::activateEndpoint, ::Packet{});
}
static void sendPacket(::Packet && p)
{
events_.emplace_back(Type::sendPacket, std::move(p));
events_.emplace_back(::Type::sendPacket, std::move(p));
}
};

Expand Down

0 comments on commit 361819b

Please sign in to comment.