From 907c942fd12ff204a387f5cc0a7f3de079186100 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Fri, 30 Mar 2012 00:50:27 +1100 Subject: Renamed partitionType to chipIdentifier as partition type was incorrect. --- heimdall/source/EndFileTransferPacket.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'heimdall/source/EndFileTransferPacket.h') diff --git a/heimdall/source/EndFileTransferPacket.h b/heimdall/source/EndFileTransferPacket.h index 32eee60..23c2591 100644 --- a/heimdall/source/EndFileTransferPacket.h +++ b/heimdall/source/EndFileTransferPacket.h @@ -45,20 +45,20 @@ namespace Heimdall private: - unsigned int destination; // Chip identifier perhaps + unsigned int destination; // PDA / Modem unsigned int sequenceByteCount; unsigned int unknown1; - unsigned int partitionType; + unsigned int chipIdentifier; protected: - EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int partitionType) + EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int chipIdentifier) : FileTransferPacket(FileTransferPacket::kRequestEnd) { this->destination = destination; this->sequenceByteCount = sequenceByteCount; this->unknown1 = unknown1; - this->partitionType = partitionType; + this->chipIdentifier = chipIdentifier; } public: @@ -78,9 +78,9 @@ namespace Heimdall return (unknown1); } - unsigned int GetPartitionType(void) const + unsigned int GetChipIdentifier(void) const { - return (partitionType); + return (chipIdentifier); } virtual void Pack(void) @@ -90,7 +90,7 @@ namespace Heimdall PackInteger(FileTransferPacket::kDataSize, destination); PackInteger(FileTransferPacket::kDataSize + 4, sequenceByteCount); PackInteger(FileTransferPacket::kDataSize + 8, unknown1); - PackInteger(FileTransferPacket::kDataSize + 12, partitionType); + PackInteger(FileTransferPacket::kDataSize + 12, chipIdentifier); } }; } -- cgit v1.2.3