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:
Ken Sarkies 2015-08-10 15:38:56 +09:30 committed by Karl Palsson
parent 7b29caed1a
commit 4d315288cf
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>