Skip to content

Commit

Permalink
Merge branch 'bugfix/raspberry_port_PR' into 'master'
Browse files Browse the repository at this point in the history
Include header and sync function definitions

See merge request espressif/esp-serial-flasher!29
  • Loading branch information
MaValki committed Mar 23, 2021
2 parents 544815a + 74080db commit e13fa45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion port/raspberry_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "serial_io.h"
#include "serial_comm.h"
#include <pigpio.h>
#include "raspberry_port.h"

#include <stdio.h>
#include <string.h>
Expand Down Expand Up @@ -207,7 +208,7 @@ static esp_loader_error_t read_data(char *buffer, uint32_t size)
return ESP_LOADER_SUCCESS;
}

esp_loader_error_t loader_port_raspberry_init(loader_raspberry_config_t *config)
esp_loader_error_t loader_port_raspberry_init(const loader_raspberry_config_t *config)
{
s_reset_trigger_pin = config->reset_trigger_pin;
s_gpio0_trigger_pin = config->gpio0_trigger_pin;
Expand Down

0 comments on commit e13fa45

Please sign in to comment.