Skip to content

Commit

Permalink
A few more missing-prototypes fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Nov 11, 2021
1 parent 25ff6b0 commit cd6599c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ports/atmel-samd/boards/pewpew_m4/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ typedef struct {

#define DELAY 0x80

uint32_t lookupCfg(uint32_t key, uint32_t defl) {
STATIC uint32_t lookupCfg(uint32_t key, uint32_t defl) {
const uint32_t *ptr = UF2_BINFO->config_data;
if (!ptr || (((uint32_t)ptr) & 3) || *ptr != CFG_MAGIC0) {
// no config data!
Expand Down
2 changes: 1 addition & 1 deletion ports/atmel-samd/common-hal/canio/Listener.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ STATIC void install_extended_filter(CanMramXidfe *extended, int id1, int id2, in


#define NO_ID (-1)
void set_filters(canio_listener_obj_t *self, size_t nmatch, canio_match_obj_t **matches) {
STATIC void set_filters(canio_listener_obj_t *self, size_t nmatch, canio_match_obj_t **matches) {
int fifo = self->fifo_idx;

if (!nmatch) {
Expand Down
3 changes: 0 additions & 3 deletions ports/espressif/boards/ai_thinker_esp32-c3s/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,3 @@ bool board_requests_safe_mode(void) {

void reset_board(void) {
}

void board_deinit(void) {
}

0 comments on commit cd6599c

Please sign in to comment.