Skip to content

Commit

Permalink
More missing-prototypes fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Nov 10, 2021
1 parent 017b52c commit 5cba23e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ports/atmel-samd/supervisor/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
#include "shared-bindings/rtc/__init__.h"
#include "shared_timers.h"
#include "reset.h"
#include "common-hal/pulseio/PulseIn.h"

#include "supervisor/background_callback.h"
#include "supervisor/shared/safe_mode.h"
Expand Down
2 changes: 2 additions & 0 deletions ports/espressif/modules/none.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@
* THE SOFTWARE.
*/

#include "modules/module.h"

void never_reset_module_internal_pins(void) {
}
3 changes: 3 additions & 0 deletions supervisor/supervisor.mk
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ else
endif
endif

SRC_TINYUSB = $(filter lib/tinyusb/%.c, $(SRC_SUPERVISOR))
$(patsubst %.c,$(BUILD)/%.o,$(SRC_TINYUSB)): CFLAGS += -Wno-missing-prototypes

SUPERVISOR_O = $(addprefix $(BUILD)/, $(SRC_SUPERVISOR:.c=.o))

ifeq ($(CIRCUITPY_DISPLAYIO), 1)
Expand Down

0 comments on commit 5cba23e

Please sign in to comment.