File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function! arduino#InitializeConfig() abort
36
36
if exists (' g:_cache_arduino_programmer' )
37
37
let g: arduino_programmer = g: _cache_arduino_programmer
38
38
else
39
- let g: arduino_programmer = ' arduino:usbtinyisp '
39
+ let g: arduino_programmer = ' '
40
40
endif
41
41
endif
42
42
if ! exists (' g:arduino_args' )
@@ -61,9 +61,6 @@ function! arduino#InitializeConfig() abort
61
61
if ! exists (' g:arduino_use_slime' )
62
62
let g: arduino_use_slime = 0
63
63
endif
64
- if ! exists (' g:arduino_upload_using_programmer' )
65
- let g: arduino_upload_using_programmer = 0
66
- endif
67
64
68
65
if ! exists (' g:arduino_run_headless' )
69
66
let g: arduino_run_headless = executable (' Xvfb' ) == 1
@@ -532,10 +529,10 @@ function! arduino#Upload() abort
532
529
if g: arduino_use_cli
533
530
let cmd = arduino#GetCLICompileCommand (' -u' )
534
531
else
535
- if g: arduino_upload_using_programmer
536
- let cmd_options = " --upload --useprogrammer"
537
- else
532
+ if empty (g: arduino_programmer )
538
533
let cmd_options = " --upload"
534
+ else
535
+ let cmd_options = " --upload --useprogrammer"
539
536
endif
540
537
let cmd = arduino#GetArduinoCommand (cmd_options)
541
538
endif
You can’t perform that action at this time.
0 commit comments