Skip to content

Commit

Permalink
drtm-backend.h: array instead out_array in write
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Mar 24, 2017
1 parent 1d25f1e commit ddf2ce7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/drtm-backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,17 +340,17 @@ namespace your_namespace
* If necessary, the target CPU is halted in order to read memory.
*
* @param [in] addr Target address to write to.
* @param [in] out_array Pointer to buffer for target memory.
* @param [in] array Pointer to buffer for target memory.
* @param [in] bytes Number of bytes to write.
*
* @retval 0 Writing memory OK.
* @retval <0 Writing memory failed.
*/
inline int
write_byte_array (target_addr_t addr, const uint8_t* out_array,
write_byte_array (target_addr_t addr, const uint8_t* array,
std::size_t bytes)
{
return yapp_write_byte_array (addr, out_array, bytes);
return yapp_write_byte_array (addr, array, bytes);
}

/**
Expand Down

0 comments on commit ddf2ce7

Please sign in to comment.