Skip to content

Commit 7e89aa1

Browse files
committed
fix typo in experiment transfer
1 parent ab88041 commit 7e89aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phyphoxBLE_NRF52.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ void PhyphoxBLE::addExperiment(PhyphoxBleExperiment& exp)
388388

389389
for(uint8_t i=0;i<phyphoxBleNViews; i++){
390390
for(int j=0; j<phyphoxBleNElements; j++){
391-
exp.getViewBytes(buffer,0,j);
391+
exp.getViewBytes(buffer,i,j);
392392
memcpy(&EXPARRAY[length],&buffer[0],strlen(buffer));
393393
length += strlen(buffer);
394394
memset(&(buffer[0]), NULL, strlen(buffer));

0 commit comments

Comments
 (0)