add const to parameters

This commit is contained in:
Jorge Martins
2022-11-08 09:57:24 +01:00
parent b120fc6565
commit 51db776de6
2 changed files with 4 additions and 4 deletions

View File

@@ -18,8 +18,8 @@ void erc1155_plugin_call(int message, void* parameters);
// 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);
typedef bool (*PluginAvailableCheck)(void);