1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Move delay timer to TIM 7. Move definition from pios_config.h to pios_board.h

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@125 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
dankers 2009-12-24 22:24:15 +00:00 committed by dankers
parent 17304c7239
commit a1ca5c5e67
2 changed files with 6 additions and 5 deletions

View File

@ -210,6 +210,12 @@
#define USB_DETECT_PIN GPIO_Pin_4
#define USB_PULLUP_PIN GPIO_Pin_14
//-------------------------
// Delay Timer
//-------------------------
#define PIOS_DELAY_TIMER TIM7
#define PIOS_DELAY_TIMER_RCC RCC_APB1Periph_TIM7
//-------------------------
// Master Clock
//-------------------------

View File

@ -35,11 +35,6 @@
#define LOG_FILENAME "pios.log"
/* Timer to use for Delay Functions */
#define PIOS_DELAY_TIMER TIM8
#define PIOS_DELAY_TIMER_RCC RCC_APB2Periph_TIM8
/* Defaults for MinIni */
#define SETTINGS_FILE "Settings.ini"