stm32: pwr: Use consistent include guards.
All STM32 family pwr.h must use LIBOPENCM3_PWR_H as include guard so that pwr_common.h can detect that it has been referenced by pwr.h for each family. F2 and F3 had the wrong include guard. Fixes Github issue #513
This commit is contained in:
parent
7b29caed1a
commit
4d315288cf
@ -30,8 +30,8 @@ LGPL License Terms @ref lgpl_license
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENCM3_PWR_F2_H
|
||||
#define LIBOPENCM3_PWR_F2_H
|
||||
#ifndef LIBOPENCM3_PWR_H
|
||||
#define LIBOPENCM3_PWR_H
|
||||
|
||||
#include <libopencm3/stm32/common/pwr_common_all.h>
|
||||
|
||||
|
@ -38,8 +38,8 @@
|
||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef LIBOPENCM3_PWR_F3_H
|
||||
#define LIBOPENCM3_PWR_F3_H
|
||||
#ifndef LIBOPENCM3_PWR_H
|
||||
#define LIBOPENCM3_PWR_H
|
||||
|
||||
#include <libopencm3/stm32/common/pwr_common_all.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user