mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
Cleanup build system and unused source files (#3047)
* Initial cut on cleaning up makefile and libraries. * F3, F4, F7 support * Add 'make release' to build targets for release * Introduce BUILD_SUFFIX options; Comment fix * Fix USB core * Fix F7 warnings * Clean up STM32F1 code * More cleanups of unused files
This commit is contained in:
parent
52e28159e5
commit
108b619a34
2905 changed files with 90815 additions and 2390211 deletions
|
@ -391,13 +391,8 @@ USB_OTG_STS USB_OTG_CoreInit(USB_OTG_CORE_HANDLE *pdev)
|
|||
/* Deactivate the power down*/
|
||||
gccfg.d32 = 0;
|
||||
gccfg.b.pwdn = 1;
|
||||
gccfg.b.vbussensingA = 1 ;
|
||||
gccfg.b.vbussensingB = 1 ;
|
||||
|
||||
#ifndef VBUS_SENSING_ENABLED
|
||||
gccfg.b.disablevbussensing = 1;
|
||||
#endif
|
||||
|
||||
gccfg.b.disablevbussensing = 1;
|
||||
|
||||
if(pdev->cfg.Sof_output)
|
||||
{
|
||||
gccfg.b.sofouten = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue