From 65d2c88f2da174935c4ac1333fe395ee969d78d7 Mon Sep 17 00:00:00 2001 From: Jorge Martins Date: Tue, 8 Nov 2022 10:22:26 +0100 Subject: [PATCH] update docs --- doc/ethapp_plugins.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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