Skip to content

Commit aba2f2e

Browse files
committed
fix: periman: include it by default, add include guard
1 parent dd426c3 commit aba2f2e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Diff for: cores/esp32/esp32-hal-periman.h

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
#pragma once
8+
79
#ifdef __cplusplus
810
extern "C"
911
{

Diff for: cores/esp32/esp32-hal.h

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ void yield(void);
8686
#include "esp32-hal-psram.h"
8787
#include "esp32-hal-rgb-led.h"
8888
#include "esp32-hal-cpu.h"
89+
#include "esp32-hal-periman.h"
8990

9091
void analogWrite(uint8_t pin, int value);
9192
void analogWriteFrequency(uint8_t pin, uint32_t freq);

0 commit comments

Comments
 (0)