mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
avrdude: Compilation on Windows/MSVC
This commit is contained in:
1 parent
68a570221b
commit
07817c8ee5
22 files changed
+2385
-732
No files matched your search
@@ -262,7 +262,7 @@ static int serbb_open(PROGRAMMER *pgm, char *port)
|
||||
if (bitbang_check_prerequisites(pgm) < 0)
|
||||
return -1;
|
||||
|
||||
hComPort = CreateFile(port, GENERIC_READ | GENERIC_WRITE, 0, NULL,
|
||||
hComPort = CreateFileA(port, GENERIC_READ | GENERIC_WRITE, 0, NULL,
|
||||
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
|
||||
if (hComPort == INVALID_HANDLE_VALUE) {
|
||||
|
||||
Reference in new issue
Block a user