diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-02 12:54:03 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-02 12:54:03 +0000 |
commit | 8c7ee88332652e7e79f6c1e4baacabe2183f7e8e (patch) | |
tree | a26ca60a089015822fa81ef44567927c1d8e334d /boot/dfu.c | |
parent | 3d48137c00511b3f2d35511482d1a76f8d06382d (diff) | |
download | clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.gz clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.bz2 clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.zip |
working, with hybrid FLL/PLL, new refclk input and support for max7219 displays, neo 5 and neo 7 and a bazillion other fixes
Diffstat (limited to 'boot/dfu.c')
-rw-r--r-- | boot/dfu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,7 @@ static struct { const struct usb_dfu_descriptor dfu_function = { .bLength = sizeof (struct usb_dfu_descriptor), .bDescriptorType = DFU_FUNCTIONAL, - .bmAttributes = USB_DFU_CAN_DOWNLOAD, + .bmAttributes = USB_DFU_CAN_DOWNLOAD | USB_DFU_WILL_DETACH, .wDetachTimeout = 255, .wTransferSize = 1024, .bcdDFUVersion = 0x011A, @@ -115,6 +115,8 @@ static int usbdfu_getstatus_complete (usbd_device *usbd_dev, struct usb_setup_da uint32_t *dat = (uint32_t *) (prog.buf + i); flash_program_word (baseaddr + i, *dat); } + + max7219_report_addr (baseaddr); } flash_lock(); |