diff --git a/doc/ethapp_plugins.adoc b/doc/ethapp_plugins.adoc index 61f6e0d..a3bdbbe 100644 --- a/doc/ethapp_plugins.adoc +++ b/doc/ethapp_plugins.adoc @@ -141,8 +141,8 @@ void copy_address(uint8_t* dst, const uint8_t* parameter, uint8_t dst_size); void copy_parameter(uint8_t* dst, const uint8_t* parameter, uint8_t dst_size); // Get the value from the beginning of the parameter (right to left) and check if the rest of it is zero -bool U2BE_from_parameter(uint8_t* parameter, uint16_t* value); -bool U4BE_from_parameter(uint8_t* parameter, uint32_t* value); +bool U2BE_from_parameter(const uint8_t* parameter, uint16_t* value); +bool U4BE_from_parameter(const uint8_t* parameter, uint32_t* value); ---- ### ETH_PLUGIN_FINALIZE