mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Removed bogus 50 MHz setting, only relevant for outputs
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
* Copyright (c) 2012-2014 PX4 Development Team. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -92,4 +92,4 @@
|
|||||||
#define HRT_TIMER 1 /* use timer1 for the HRT */
|
#define HRT_TIMER 1 /* use timer1 for the HRT */
|
||||||
#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
|
#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
|
||||||
#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
|
#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
|
||||||
#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_MODE_50MHz|GPIO_PORTE|GPIO_PIN9)
|
#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_PORTE|GPIO_PIN9)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2012 PX4 Development Team. All rights reserved.
|
* Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
#define HRT_TIMER 1 /* use timer1 for the HRT */
|
#define HRT_TIMER 1 /* use timer1 for the HRT */
|
||||||
#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
|
#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
|
||||||
#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
|
#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
|
||||||
#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_MODE_50MHz|GPIO_PORTE|GPIO_PIN9)
|
#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_PORTE|GPIO_PIN9)
|
||||||
|
|
||||||
/* LED definitions ******************************************************************/
|
/* LED definitions ******************************************************************/
|
||||||
/* PX4 has two LEDs that we will encode as: */
|
/* PX4 has two LEDs that we will encode as: */
|
||||||
|
|||||||
Reference in New Issue
Block a user