Drop C-style 'void' argument

This commit is contained in:
Scott Lahteine
2019-09-16 20:31:08 -05:00
parent 7d8c38693f
commit f01f0d1956
174 changed files with 864 additions and 864 deletions

View File

@@ -45,7 +45,7 @@ void USB::init() {
bmHubPre = 0;
}
uint8_t USB::getUsbTaskState(void) {
uint8_t USB::getUsbTaskState() {
return usb_task_state;
}
@@ -424,7 +424,7 @@ uint8_t USB::dispatchPkt(uint8_t token, uint8_t ep, uint16_t nak_limit) {
}
/* USB main task. Performs enumeration/cleanup */
void USB::Task(void) { //USB state machine
void USB::Task() { //USB state machine
uint8_t rcode;
uint8_t tmpdata;
static uint32_t delay = 0;