Skip to content

Commit

Permalink
fmu-v5X VER REV Combined
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 authored and dagar committed Jun 26, 2019
1 parent 31dfaee commit e5b6adc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/drivers/boards/common/stm32/board_hw_rev_ver.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
#include <systemlib/px4_macros.h>

#if defined(BOARD_HAS_HW_VERSIONING)

# if defined(GPIO_HW_VER_REV_DRIVE)
# define GPIO_HW_REV_DRIVE GPIO_HW_VER_REV_DRIVE
# define GPIO_HW_VER_DRIVE GPIO_HW_VER_REV_DRIVE
# endif
/****************************************************************************
* Private Data
****************************************************************************/
Expand Down Expand Up @@ -118,7 +123,7 @@ static int dn_to_ordinal(uint16_t dn)
* /
* |
* |
* +--------------- GPIO_HW_xxx_DRIVE
* +--------------- GPIO_HW_xxx_DRIVE or GPIO_HW_VER_REV_DRIVE
*
* Input Parameters:
* id - pointer to receive the dn for the id set
Expand Down

0 comments on commit e5b6adc

Please sign in to comment.