tma: impl helper services, cleanup hostside packets

This commit is contained in:
Michael Scire committed 2018-11-30 18:18:04 -08:00
1 parent 46001263f8
commit 2572ae8378
10 files changed
+252 -47

No files matched your search

+1 -1
View File
@@ -436,7 +436,7 @@ TmaConnResult TmaUsbComms::SendPacket(TmaPacket *packet) {
res = TmaConnResult::GeneralFailure;
}
if (res == TmaConnResult::Success) {
if (res == TmaConnResult::Success && 0 < body_len) {
/* Copy body to send buffer. */
packet->CopyBodyTo(g_send_data_buf);