aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/i2c.h')
-rw-r--r--ports/stm32/i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/stm32/i2c.h b/ports/stm32/i2c.h
index 6affe3973..f416c791e 100644
--- a/ports/stm32/i2c.h
+++ b/ports/stm32/i2c.h
@@ -23,8 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#ifndef MICROPY_INCLUDED_STMHAL_I2C_H
-#define MICROPY_INCLUDED_STMHAL_I2C_H
+#ifndef MICROPY_INCLUDED_STM32_I2C_H
+#define MICROPY_INCLUDED_STM32_I2C_H
#include "dma.h"
@@ -52,4 +52,4 @@ uint32_t i2c_get_baudrate(I2C_InitTypeDef *init);
void i2c_ev_irq_handler(mp_uint_t i2c_id);
void i2c_er_irq_handler(mp_uint_t i2c_id);
-#endif // MICROPY_INCLUDED_STMHAL_I2C_H
+#endif // MICROPY_INCLUDED_STM32_I2C_H