Skip to content

Commit

Permalink
extract clock peripheral from correct argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fivdi committed Feb 21, 2016
1 parent b7d7448 commit 7421184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pigpio.cc
Expand Up @@ -664,7 +664,7 @@ NAN_METHOD(gpioCfgClock) {
}

unsigned cfgMicros = info[0]->Uint32Value();
unsigned cfgPeripheral = info[0]->Uint32Value();
unsigned cfgPeripheral = info[1]->Uint32Value();
unsigned cfgSource = 0;

gpioCfgClock(cfgMicros, cfgPeripheral, cfgSource);
Expand Down

0 comments on commit 7421184

Please sign in to comment.