diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 13:50:23 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-24 13:50:23 -0600 |
commit | ea439de0bb25f37ffc4004b6532bf53810511c3d (patch) | |
tree | 577b3e0aaa6a2878a6cc5d91792383781879fc28 /apps/examples | |
parent | 1e646824d1fee99cba2f721cfc2181cfdd31d7f1 (diff) | |
download | nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.tar.gz nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.tar.bz2 nuttx-ea439de0bb25f37ffc4004b6532bf53810511c3d.zip |
Rename up_buttoninit to board_button_intialize
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/buttons/buttons_main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/examples/buttons/buttons_main.c b/apps/examples/buttons/buttons_main.c index 655080def..fba88d026 100644 --- a/apps/examples/buttons/buttons_main.c +++ b/apps/examples/buttons/buttons_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/buttons/buttons_main.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -45,15 +45,16 @@ ****************************************************************************/ #include <nuttx/config.h> -#include <nuttx/arch.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <debug.h> +#include <nuttx/arch.h> + /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/ @@ -414,7 +415,7 @@ int buttons_main(int argc, char *argv[]) /* Initialize the button GPIOs */ - up_buttoninit(); + board_button_initialize(); /* Register to recieve button interrupts */ |