Skip to content

Commit 0d644bc

Browse files
removed commented out method
1 parent 3426280 commit 0d644bc

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

Firmata.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,6 @@ void FirmataClass::setFirmwareNameAndVersion(const char *name, byte major, byte
153153
firmwareVersionVector[1] = minor;
154154
strncpy((char*)firmwareVersionVector + 2, firmwareName, firmwareVersionCount - 2);
155155
}
156-
157-
// this method is only used for unit testing
158-
// void FirmataClass::unsetFirmwareVersion()
159-
// {
160-
// firmwareVersionCount = 0;
161-
// free(firmwareVersionVector);
162-
// firmwareVersionVector = 0;
163-
// }
164156

165157
//------------------------------------------------------------------------------
166158
// Serial Receive Handling

Firmata.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class FirmataClass
9898
void printFirmwareVersion(void);
9999
//void setFirmwareVersion(byte major, byte minor); // see macro below
100100
void setFirmwareNameAndVersion(const char *name, byte major, byte minor);
101-
//void unsetFirmwareVersion(); // only used for unit test
102101
/* serial receive handling */
103102
int available(void);
104103
void processInput(void);

0 commit comments

Comments
 (0)