Skip to content

Commit

Permalink
Bluetooth: save cycles in the driver (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis authored Jul 17, 2024
1 parent 42c66f2 commit 0b92c2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/bluetooth/drivers/SerialDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,12 @@ namespace Bluetooth {
Response& operator=(const Response& copy) = delete;

public:
PUSH_WARNING(DISABLE_WARNING_MAYBE_UNINITIALIZED)
inline Response(const command cmd, const uint16_t sequence)
: Request(cmd, sequence, _value)
, _value()
{
}
POP_WARNING()
inline ~Response()
{
}
Expand Down

0 comments on commit 0b92c2d

Please sign in to comment.