From b0a983ba7f6d2032023839071acd2ef4c7a25da8 Mon Sep 17 00:00:00 2001 From: jcecconi Date: Sat, 16 Jan 2016 09:47:40 -0300 Subject: [PATCH] #374 solves hexa Ports or Pins --- .../hisio/gen/src/cortexM4/lpc43xx/lpc4337/Dio_Cfg_Arch.c.php | 2 +- modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/hisio/gen/src/cortexM4/lpc43xx/lpc4337/Dio_Cfg_Arch.c.php b/modules/hisio/gen/src/cortexM4/lpc43xx/lpc4337/Dio_Cfg_Arch.c.php index 6b20d4f0..35627814 100755 --- a/modules/hisio/gen/src/cortexM4/lpc43xx/lpc4337/Dio_Cfg_Arch.c.php +++ b/modules/hisio/gen/src/cortexM4/lpc43xx/lpc4337/Dio_Cfg_Arch.c.php @@ -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"; diff --git a/modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php b/modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php index 3c135595..acdf3045 100755 --- a/modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php +++ b/modules/hisio/gen/src/x86/Dio_Cfg_Arch.c.php @@ -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";