Skip to content

Commit

Permalink
#374 solves hexa Ports or Pins
Browse files Browse the repository at this point in the history
  • Loading branch information
jcecconi committed Jan 16, 2016
1 parent 90e7f92 commit b0a983b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
break;
}
print "/** \brief Port: " . $pin_port . " Pin: " . $pin_pin . " , " . $GPIO . " called " . $pin . " */\n";
print "{ " . $pin_port . ", " . $pin_pin . ", " . $GPIO_Port . ", " . $GPIO_Pin . ", SCU_MODE_FUNC" . $GPIO_Func . ", (" . $pin_flags . ")},\n";
print "{ 0x" . $pin_port . ", 0x" . $pin_pin . ", 0x" . $GPIO_Port . ", " . $GPIO_Pin . ", SCU_MODE_FUNC" . $GPIO_Func . ", (" . $pin_flags . ")},\n";
}
print "}\n";
print ", 0 /* foo var */\n";
Expand Down
2 changes: 1 addition & 1 deletion modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
break;
}
print "/** \brief Port: " . $pin_port . " Pin: " . $pin_pin . " called " . $pin . " */\n";
print "{ " . $pin_port . ", " . $pin_pin . ", (" . $pin_flags . ")},\n";
print "{ 0x" . $pin_port . ", 0x" . $pin_pin . ", (" . $pin_flags . ")},\n";
}
print "}\n";
print ", 0 /* foo var */\n";
Expand Down

0 comments on commit b0a983b

Please sign in to comment.