完善
This commit is contained in:
@@ -44,7 +44,7 @@ void send_blocks(float* arr, char* uuid_str){
|
||||
memset(_block, 0 ,sizeof(char)*100*100);
|
||||
block_index = 0; // <20><><EFBFBD>ÿ<EFBFBD>
|
||||
sprintf(_block, "{\"uuid\":\"%s\",\"Bid\":\"%d\",\"Eid\":\"%d\",\"Block\":\"%s\"}\n", uuid_str, total_len++, _total_len, block);
|
||||
printf("%s", _block);
|
||||
DEBUG_PRINTF("%s", _block);
|
||||
myfree(SRAMEX,_block);
|
||||
_block = NULL;
|
||||
}
|
||||
@@ -57,7 +57,7 @@ void send_blocks(float* arr, char* uuid_str){
|
||||
memset(_block, 0 ,sizeof(char)*100*100);
|
||||
block_index = 0;
|
||||
sprintf(_block, "{\"uuid\":\"%s\",\"Bid\":\"%d\",\"Eid\":\"%d\",\"Block\":\"%s\"}\n", uuid_str, total_len, _total_len, block);
|
||||
printf("%s", _block);
|
||||
DEBUG_PRINTF("%s", _block);
|
||||
myfree(SRAMEX,_block);
|
||||
_block = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user