Skip to content

Commit 7e4f89d

Browse files
author
Richard Unger
committed
restrict compile of STSPIN32G4 to generic G431VBTX
1 parent 260580f commit 7e4f89d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/drivers/stspin32g4/STSPIN32G4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
#include "./STSPIN32G4.h"
33

4-
#ifdef _STM32_DEF_
4+
#ifdef ARDUINO_GENERIC_G431VBTX
55

66

77
STSPIN32G4::STSPIN32G4() : BLDCDriver6PWM(STSPIN32G4_PIN_INUH, STSPIN32G4_PIN_INUL, STSPIN32G4_PIN_INVH,

src/drivers/stspin32g4/STSPIN32G4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "Arduino.h"
55

6-
#ifdef _STM32_DEF_
6+
#ifdef ARDUINO_GENERIC_G431VBTX
77

88
#include "Wire.h"
99
#include "drivers/BLDCDriver6PWM.h"

0 commit comments

Comments
 (0)