mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Resolve problems found by enabling -Wwrite-strings compilation flag
This commit is contained in:
@@ -66,7 +66,7 @@ static void ATTR_GDBFN gdbPacketChar(char c) {
|
||||
}
|
||||
|
||||
//Send a string as part of a packet
|
||||
static void ATTR_GDBFN gdbPacketStr(char *c) {
|
||||
static void ATTR_GDBFN gdbPacketStr(const char *c) {
|
||||
while (*c!=0) {
|
||||
gdbPacketChar(*c);
|
||||
c++;
|
||||
|
Reference in New Issue
Block a user