Skip to content

Commit 2360aba

Browse files
committed
bump chip/avr.avr109 to resolve linux verification issue
1 parent 700d8d0 commit 2360aba

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

lib/avr109.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ var Serialport = require('serialport');
55
var async = require('async');
66
var Protocol = require('./protocol');
77
var util = require('util');
8-
var os = require('os');
98

109
var Avr109 = function(options) {
1110
options.protocol = function() { return AVR109; };
@@ -79,12 +78,7 @@ Avr109.prototype._write = function(data, callback) {
7978
flasher.erase.bind(flasher),
8079
flasher.program.bind(flasher, data.toString()),
8180
function verify(done) {
82-
// please see noopkat/avrgirl-arduino/issues/45 on github
83-
if (os.platform() !== 'linux') {
84-
flasher.verify(done);
85-
} else {
86-
done();
87-
}
81+
flasher.verify(done);
8882
},
8983

9084
flasher.fuseCheck.bind(flasher)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"dependencies": {
3131
"async": "^1.4.2",
3232
"avrga-tester": "1.x",
33-
"chip.avr.avr109": "^1.0.4",
33+
"chip.avr.avr109": "^1.0.6",
3434
"colors": "^1.1.2",
3535
"graceful-fs": "^4.1.2",
3636
"intel-hex": "^0.1.1",

0 commit comments

Comments
 (0)