Fixed bug in setting message data byte 2

This commit is contained in:
Douglas Heriot 2013-01-23 17:22:14 +11:00
parent 036b582819
commit e8fe13fbfc

View File

@ -159,7 +159,7 @@ int main(int argc, char * const *argv)
if(requiredLength > 1)
{
data[1] = atoi(argv[1]) & 0x7F;
[message setDataByte2:data[2]];
[message setDataByte2:data[1]];
}