Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Commit

Permalink
Fix a small copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
graysonarts committed Jan 25, 2014
1 parent 55a2a57 commit 60fb878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spi.js
Expand Up @@ -104,7 +104,7 @@ Spi.prototype.mode = function(mode) {

Spi.prototype.chipSelect = function(cs) {
if (typeof(cs) != 'undefined')
if (cs == CS['none'] || cs == CS['high'] || cs == MODE['low']) {
if (cs == CS['none'] || cs == CS['high'] || cs == CS['low']) {
this._spi['chipSelect'](cs);
return this._spi;
}
Expand Down

0 comments on commit 60fb878

Please sign in to comment.