summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2v2/base/pickit2v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit2v2/base/pickit2v2.h')
-rw-r--r--src/progs/pickit2v2/base/pickit2v2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/pickit2v2/base/pickit2v2.h b/src/progs/pickit2v2/base/pickit2v2.h
index 7c6f294..d1bd567 100644
--- a/src/progs/pickit2v2/base/pickit2v2.h
+++ b/src/progs/pickit2v2/base/pickit2v2.h
@@ -18,7 +18,7 @@ namespace Pickit2V2
enum FirmwareCommand {
EnterBootloader = 0x42, NoOperation = 0x5A, FirmwareVersion = 0x76,
- SetVdd = 0xA0, SetVpp = 0xA1, ReadStatus = 0xA2, ReadVoltages = 0xA3,
+ SetVdd = 0xA0, SetVpp = 0xA1, ReadtqStatus = 0xA2, ReadVoltages = 0xA3,
DownloadScript = 0xA4, RunScript = 0xA5, ExecuteScript = 0xA6,
ClearDownloadBuffer = 0xA7, DownloadData = 0xA8, ClearUploadBuffer = 0xA9,
UploadData = 0xAA, ClearScriptBuffer = 0xAB, UploadDataNoLen = 0xAC,
@@ -74,8 +74,8 @@ enum StatusFlag {
ButtonPressed = 0x0040, VppError = 0x0020, VddError = 0x0010,
VppIsOn = 0x0008, VppGroundIsOn = 0x0004,
VddIsOn = 0x0002, VddGroundIsOn = 0x0001 };
-Q_DECLARE_FLAGS(StatusFlags, StatusFlag)
-Q_DECLARE_OPERATORS_FOR_FLAGS(StatusFlags)
+TQ_DECLARE_FLAGS(StatusFlags, StatusFlag)
+TQ_DECLARE_OPERATORS_FOR_FLAGS(StatusFlags)
//-----------------------------------------------------------------------------
class Hardware : public ::Programmer::PicHardware
@@ -94,7 +94,7 @@ public:
bool setTarget();
bool setFastProgramming(bool fast);
virtual bool readVoltages(VoltagesData &voltagesData);
- bool readStatus(ushort &status);
+ bool readtqStatus(ushort &status);
bool readMemory(Pic::MemoryRangeType type, ::Device::Array &data, const ::Programmer::VerifyData *vdata);
bool writeMemory(Pic::MemoryRangeType type, const ::Device::Array &data, bool force);
bool eraseAll();