1
0
Fork 0

[Bug] Rename has_mouse_report_changed parameters (#16417)

Fixes compilation issues when bluetooth is enabled, due to issues 
with cpp used by bluetooth code. 

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
ZiTe 2022-03-08 12:16:35 +08:00 committed by GitHub
parent 8f70adc0b6
commit 0880850b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 14 deletions

View file

@ -73,12 +73,12 @@ extern const pointing_device_driver_t pointing_device_driver;
/**
* @brief Compares 2 mouse reports for difference and returns result
*
* @param[in] new report_mouse_t
* @param[in] old report_mouse_t
* @param[in] new_report report_mouse_t
* @param[in] old_report report_mouse_t
* @return bool result
*/
__attribute__((weak)) bool has_mouse_report_changed(report_mouse_t new, report_mouse_t old) {
return memcmp(&new, &old, sizeof(new));
__attribute__((weak)) bool has_mouse_report_changed(report_mouse_t new_report, report_mouse_t old_report) {
return memcmp(&new_report, &old_report, sizeof(new_report));
}
/**
@ -292,10 +292,10 @@ report_mouse_t pointing_device_get_report(void) {
/**
* @brief Sets mouse report used be pointing device task
*
* @param[in] new_mouse_report
* @param[in] mouse_report
*/
void pointing_device_set_report(report_mouse_t new_mouse_report) {
local_mouse_report = new_mouse_report;
void pointing_device_set_report(report_mouse_t mouse_report) {
local_mouse_report = mouse_report;
}
/**