summaryrefslogtreecommitdiff
path: root/stmhal/extint.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/extint.h')
-rw-r--r--stmhal/extint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/extint.h b/stmhal/extint.h
index b04224c40..0eae8942c 100644
--- a/stmhal/extint.h
+++ b/stmhal/extint.h
@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef MICROPY_INCLUDED_STMHAL_EXTINT_H
+#define MICROPY_INCLUDED_STMHAL_EXTINT_H
// Vectors 0-15 are for regular pins
// Vectors 16-22 are for internal sources.
@@ -61,3 +63,5 @@ void extint_swint(uint line);
void Handle_EXTI_Irq(uint32_t line);
extern const mp_obj_type_t extint_type;
+
+#endif // MICROPY_INCLUDED_STMHAL_EXTINT_H