mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Merge pull request #4300 from AlienWiiBF/AFNG_HW_detection
Fix instable AlienFligh hardware detection issue.
This commit is contained in:
commit
fb0ee94ba1
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ void detectHardwareRevision(void)
|
|||
IOInit(RXDetectPin, OWNER_SYSTEM, 0);
|
||||
IOConfigGPIO(RXDetectPin, IOCFG_IPU);
|
||||
|
||||
delayMicroseconds(10); // allow configuration to settle
|
||||
delayMicroseconds(40); // allow configuration to settle
|
||||
|
||||
// Check hardware revision
|
||||
if (IORead(HWDetectPin)) {
|
||||
|
|
|
@ -37,7 +37,7 @@ void detectHardwareRevision(void)
|
|||
IOInit(HWDetectPin, OWNER_SYSTEM, 0);
|
||||
IOConfigGPIO(HWDetectPin, IOCFG_IPU);
|
||||
|
||||
delayMicroseconds(10); // allow configuration to settle
|
||||
delayMicroseconds(40); // allow configuration to settle
|
||||
|
||||
// Check hardware revision
|
||||
if (IORead(HWDetectPin)) {
|
||||
|
|
|
@ -38,7 +38,7 @@ void detectHardwareRevision(void)
|
|||
IOInit(HWDetectPin, OWNER_SYSTEM, 0);
|
||||
IOConfigGPIO(HWDetectPin, IOCFG_IPU);
|
||||
|
||||
delayMicroseconds(10); // allow configuration to settle
|
||||
delayMicroseconds(40); // allow configuration to settle
|
||||
|
||||
// Check hardware revision
|
||||
if (IORead(HWDetectPin)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue