Removed init() member function from AVR GDB command packet classes
This commit is contained in:
@@ -13,7 +13,9 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
|
||||
using Exceptions::Exception;
|
||||
|
||||
void ReadMemory::init() {
|
||||
ReadMemory::ReadMemory(const std::vector<unsigned char>& rawPacket)
|
||||
: AbstractMemoryAccessPacket(rawPacket)
|
||||
{
|
||||
if (this->data.size() < 4) {
|
||||
throw Exception("Invalid packet length");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user