gpio.h: remove extern "C" (#19799)

pull/19811/head
Dean Lee 5 years ago committed by GitHub
parent d085adb9ec
commit 210b52e622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      selfdrive/common/gpio.h

@ -1,5 +1,4 @@
#ifndef GPIO_H #pragma once
#define GPIO_H
#include <stdbool.h> #include <stdbool.h>
@ -20,16 +19,5 @@
#define GPIO_STM_BOOT0 0 #define GPIO_STM_BOOT0 0
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
int gpio_init(int pin_nr, bool output); int gpio_init(int pin_nr, bool output);
int gpio_set(int pin_nr, bool high); int gpio_set(int pin_nr, bool high);
#ifdef __cplusplus
} // extern "C"
#endif
#endif

Loading…
Cancel
Save