aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-07-25 13:17:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-07-29 11:40:54 -0400
commit18ff84aa04c3dbf39166d4bad210e91a9381960f (patch)
tree543ed2f14b4176a4ce7e8507cc3a2371dcc64b65 /src/avr
parent48b60a8021bd02d998fd3d6ea9e55645e3dc75e4 (diff)
downloadkutter-18ff84aa04c3dbf39166d4bad210e91a9381960f.tar.gz
kutter-18ff84aa04c3dbf39166d4bad210e91a9381960f.tar.xz
kutter-18ff84aa04c3dbf39166d4bad210e91a9381960f.zip
usb_cdc: Rename usb_request_bootloader() to bootloader_request()
Rename this board API function to a more generic name. This is in preparation for calling the function from the canbus code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr')
-rw-r--r--src/avr/usbserial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/avr/usbserial.c b/src/avr/usbserial.c
index 442ef934..ab61fde2 100644
--- a/src/avr/usbserial.c
+++ b/src/avr/usbserial.c
@@ -7,6 +7,7 @@
#include <avr/interrupt.h> // USB_COM_vect
#include <string.h> // NULL
#include "autoconf.h" // CONFIG_MACH_at90usb1286
+#include "board/misc.h" // bootloader_request
#include "board/usb_cdc.h" // usb_notify_ep0
#include "board/usb_cdc_ep.h" // USB_CDC_EP_BULK_IN
#include "pgm.h" // READP
@@ -179,7 +180,7 @@ usb_set_configure(void)
}
void
-usb_request_bootloader(void)
+bootloader_request(void)
{
}