Skip to content

Commit

Permalink
Remove const requirement from cplugin device_info function
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wh committed Oct 29, 2024
1 parent c40f611 commit a860ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ ANALOGSDK_API int read_full_buffer(uint16_t code_buffer[],
///
/// Although, the client should be copying any data they want to use for a
/// prolonged time as there is no lifetime guarantee on the data.
ANALOGSDK_API int device_info(const WootingAnalog_DeviceInfo_FFI *buffer[],
ANALOGSDK_API int device_info(WootingAnalog_DeviceInfo_FFI *buffer[],
int len);

/// Function called to get the analog value for a particular HID key `code` from
/// the device with ID `device`. If `device` is 0 then no specific device is
/// specified and the value should be read from all devices and combined
ANALOGSDK_API float read_analog(uint16_t code, WootingAnalog_DeviceID device);
ANALOGSDK_API float read_analog(uint16_t code, WootingAnalog_DeviceID device);

0 comments on commit a860ef9

Please sign in to comment.