solving warning: no newline at the end of file
This commit is contained in:
parent
583e8a983a
commit
6f784d98ea
4 changed files with 4 additions and 4 deletions
|
|
@ -23,4 +23,4 @@ int16_t dev_hidraw_get_pid(const dev_hidraw_t *const in_dev);
|
||||||
|
|
||||||
int16_t dev_hidraw_get_vid(const dev_hidraw_t *const in_dev);
|
int16_t dev_hidraw_get_vid(const dev_hidraw_t *const in_dev);
|
||||||
|
|
||||||
int dev_hidraw_get_rdesc(const dev_hidraw_t *const in_dev, uint8_t *const out_buf_sz, size_t in_buf_sz, size_t *const out_rdesc_size);
|
int dev_hidraw_get_rdesc(const dev_hidraw_t *const in_dev, uint8_t *const out_buf_sz, size_t in_buf_sz, size_t *const out_rdesc_size);
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings) {
|
input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings) {
|
||||||
// TODO: return the legion go definition here
|
// TODO: return the legion go definition here
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
#include "input_dev.h"
|
#include "input_dev.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings);
|
input_dev_composite_t* legion_go_device_def(const controller_settings_t *const settings);
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ int32_t div_round_closest(int32_t x, int32_t divisor) {
|
||||||
const int32_t __x = x;
|
const int32_t __x = x;
|
||||||
const int32_t __d = divisor;
|
const int32_t __d = divisor;
|
||||||
return ((__x) > 0) == ((__d) > 0) ? (((__x) + ((__d) / 2)) / (__d)) : (((__x) - ((__d) / 2)) / (__d));
|
return ((__x) > 0) == ((__d) > 0) ? (((__x) + ((__d) / 2)) / (__d)) : (((__x) - ((__d) / 2)) / (__d));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue