1
0
Fork 0
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:
Konstantin Sharlaimov 2018-04-25 10:01:00 +10:00 committed by GitHub
parent 52e28159e5
commit 108b619a34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2905 changed files with 90815 additions and 2390211 deletions

View file

@ -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;