Closed yxist closed 5 years ago
Hi,
Thanks for contributing. Why does one not use the example config?
Br
I just had the virtual sdcard set up that way before installing dwc2 so i felt no need to change it. I had no idea path relative to ~/ could cause a problem. It gave me an error that: "DWC2 failed to start, no webif found in ~/virt_sd/dwc2/web/". And that confused me for a while as the files were clearly there. I just copied the way it was done in the virtual_sdcard.py module so that it's consistent.
understood, tested,works .> merged.
thanks
Normalizes the path in exactly the same way as it's done in the virtual_sdcard module in klipper. Using paths such as ~/virt_sd/ previously caused errors.
This patch allows people to use paths relative to their home folder as their virtual sdcard without any problems.