diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-05 04:16:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 04:16:22 +0200 |
commit | fdd20c48ed62b9410292097f0ee2ad53f5c3109c (patch) | |
tree | 26f839568ed089ad5eb34a139f9069c08b16195a /src/SPI.cpp | |
parent | 85b3bdebd1258a13b3d28eeff5a7eef2d22fb5d9 (diff) | |
parent | f91eb18152e7bb84a402255d283a546f4dc95ce8 (diff) |
Merge pull request #400 from ccawley2011/write-strings
Fix all -Wwrite-strings warnings
Diffstat (limited to 'src/SPI.cpp')
-rw-r--r-- | src/SPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SPI.cpp b/src/SPI.cpp index 6224338..e550abd 100644 --- a/src/SPI.cpp +++ b/src/SPI.cpp @@ -129,7 +129,7 @@ void Reset() fclose(f); // take a backup - char* firmbkp = "firmware.bin.bak"; + const char* firmbkp = "firmware.bin.bak"; f = fopen(firmbkp, "rb"); if (f) fclose(f); else |