Commit ae0a04e3 authored by Ryan Day's avatar Ryan Day

Revert "fixing out of order call"

This reverts commit 270836b5.
parent 270836b5
......@@ -55,21 +55,18 @@ programmer.sync(5,function(err,data){
programmer.verifySignature(signature,function(err,data){
console.log('callback sig',err," ",data);
});
programmer.enterProgrammingMode(options,function(err,data){
console.log('enter programming mode.',err,data);
});
programmer.upload( hex, pageSize,function(err,data){
console.log('upload> ',err,data);
programmer.exitProgrammingMode(function(err,data){
console.log('exitProgrammingMode> ',err,data)
})
});
programmer.enterProgrammingMode(options,function(err,data){
console.log('enter programming mode.',err,data);
});
programmer.upload( hex, pageSize,function(err,data){
console.log('upload> ',err,data);
programmer.exitProgrammingMode(function(err,data){
console.log('exitProgrammingMode> ',err,data)
})
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment