forked from PAWPAW-Mirror/lib_xua
Use write_byte_via_xc_ptr macro.
This commit is contained in:
@@ -1257,7 +1257,7 @@ void decouple(chanend c_mix_out,
|
|||||||
/* There is room in the collecting buffer for the data */
|
/* There is room in the collecting buffer for the data */
|
||||||
xc_ptr p = (iap_to_host_buffer_being_collected + 4) + iap_data_collected_from_device;
|
xc_ptr p = (iap_to_host_buffer_being_collected + 4) + iap_data_collected_from_device;
|
||||||
// Add data to the buffer
|
// Add data to the buffer
|
||||||
write_byte_via_xc_ptr_indexed(p, 0, datum_iap);
|
write_byte_via_xc_ptr(p, datum_iap);
|
||||||
iap_data_collected_from_device += 1;
|
iap_data_collected_from_device += 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user