format code according to conventions [skip ci]
parent
96bfce7000
commit
9fbf17b90e
|
@ -207,9 +207,7 @@ void main_subtask_usb_extra_device(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef RAW_ENABLE
|
#ifdef RAW_ENABLE
|
||||||
void main_subtask_raw(void) {
|
void main_subtask_raw(void) { udi_hid_raw_receive_report(); }
|
||||||
udi_hid_raw_receive_report();
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void main_subtasks(void) {
|
void main_subtasks(void) {
|
||||||
|
|
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "conf_usb.h"
|
#include "conf_usb.h"
|
||||||
#include "udd.h"
|
#include "udd.h"
|
||||||
#ifdef RAW
|
#ifdef RAW
|
||||||
#include "raw_hid.h"
|
# include "raw_hid.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t keyboard_protocol = 1;
|
uint8_t keyboard_protocol = 1;
|
||||||
|
@ -93,7 +93,5 @@ bool main_raw_enable(void) {
|
||||||
|
|
||||||
void main_raw_disable(void) { main_b_raw_enable = false; }
|
void main_raw_disable(void) { main_b_raw_enable = false; }
|
||||||
|
|
||||||
void main_raw_receive(uint8_t *buffer, uint8_t len) {
|
void main_raw_receive(uint8_t *buffer, uint8_t len) { raw_hid_receive(buffer, len); }
|
||||||
raw_hid_receive(buffer, len);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue