Skip to content

Commit 5cba23e

Browse files
committed
More missing-prototypes fixes
1 parent 017b52c commit 5cba23e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ports/atmel-samd/supervisor/port.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
#include "shared-bindings/rtc/__init__.h"
110110
#include "shared_timers.h"
111111
#include "reset.h"
112+
#include "common-hal/pulseio/PulseIn.h"
112113

113114
#include "supervisor/background_callback.h"
114115
#include "supervisor/shared/safe_mode.h"

ports/espressif/modules/none.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@
2424
* THE SOFTWARE.
2525
*/
2626

27+
#include "modules/module.h"
28+
2729
void never_reset_module_internal_pins(void) {
2830
}

supervisor/supervisor.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ else
137137
endif
138138
endif
139139

140+
SRC_TINYUSB = $(filter lib/tinyusb/%.c, $(SRC_SUPERVISOR))
141+
$(patsubst %.c,$(BUILD)/%.o,$(SRC_TINYUSB)): CFLAGS += -Wno-missing-prototypes
142+
140143
SUPERVISOR_O = $(addprefix $(BUILD)/, $(SRC_SUPERVISOR:.c=.o))
141144

142145
ifeq ($(CIRCUITPY_DISPLAYIO), 1)

0 commit comments

Comments
 (0)