Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

fix bug on ARM #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions matlab/read_bfee.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void read_bfee(unsigned char *inBytes, mxArray *outCell)
unsigned int rssi_a = inBytes[10];
unsigned int rssi_b = inBytes[11];
unsigned int rssi_c = inBytes[12];
char noise = inBytes[13];
signed char noise = inBytes[13];
unsigned int agc = inBytes[14];
unsigned int antenna_sel = inBytes[15];
unsigned int len = inBytes[16] + (inBytes[17] << 8);
Expand All @@ -23,7 +23,7 @@ void read_bfee(unsigned char *inBytes, mxArray *outCell)
unsigned int i, j;
unsigned int index = 0, remainder;
unsigned char *payload = &inBytes[20];
char tmp;
signed char tmp;
mwSize size[] = {Ntx, Nrx, 30};
mxArray *csi = mxCreateNumericArray(3, size, mxDOUBLE_CLASS, mxCOMPLEX);
mwSize perm_size[] = {1, 3};
Expand Down