Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello, I tried to compile this program, but it always give that error:
In file included from C:\Users\Roman\Documents\Arduino\libraries\SdFat-master\src/SdCard/SdSpiCard.h:35, from C:\Users\Roman\Documents\Arduino\libraries\SdFat-master\src/SdCard/SdCard.h:28, from C:\Users\Roman\Documents\Arduino\libraries\SdFat-master\src/SdFat.h:32, from C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0/ESPWebDAV.h:2, from C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0\examples\Printer_3D\Printer_3D.ino:5: C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0\examples\Printer_3D\Printer_3D.ino: In function 'void setup()': c:\users\roman\documents\arduino\libraries\sdfat-master\src\spidriver\sdspidriver.h:67:38: error: cannot convert 'long unsigned int' to 'SPISettings' 67 | #define SD_SCK_MHZ(maxMhz) (1000000UL*(maxMhz)) | ~~~~~~~~~~^~~~~~~~~~ | | | long unsigned int c:\users\roman\documents\arduino\libraries\sdfat-master\src\spidriver\sdspidriver.h:70:24: note: in expansion of macro 'SD_SCK_MHZ' 70 | #define SPI_FULL_SPEED SD_SCK_MHZ(50) | ^~~~~~~~~~ C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0\examples\Printer_3D\Printer_3D.ino:96:22: note: in expansion of macro 'SPI_FULL_SPEED' 96 | if(!dav.init(SD_CS, SPI_FULL_SPEED, SERVER_PORT)) { | ^~~~~~~~~~~~~~ In file included from C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0\examples\Printer_3D\Printer_3D.ino:5: C:\Users\Roman\Documents\Arduino\libraries\ESPWebDAV-1.0.0/ESPWebDAV.h:25:43: note: initializing argument 2 of 'bool ESPWebDAV::init(int, SPISettings, int)' 25 | bool init(int chipSelectPin, SPISettings spiSettings, int serverPort); | ~~~~~~~~~~~~^~~~~~~~~~~ Byly nalezené násobné knihovny "SdFat.h" Použitý: C:\Users\Roman\Documents\Arduino\libraries\SdFat-master Nepoužitý: C:\Users\Roman\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266SdFat exit status 1
Where can be problem? Thank you Klimš