mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 16:55:52 +08:00
Send correct number of bytes
This commit is contained in:
@@ -137,7 +137,7 @@ bool CFMControl::writeModem(const unsigned char* data, unsigned int length)
|
|||||||
fclose(audiofile);
|
fclose(audiofile);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return m_network->writeData((unsigned char*)out, nOut);
|
return m_network->writeData((unsigned char*)out, nOut * sizeof(unsigned short));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user