From ea439de0bb25f37ffc4004b6532bf53810511c3d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 24 Jan 2014 13:50:23 -0600 Subject: Rename up_buttoninit to board_button_intialize --- apps/examples/buttons/buttons_main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'apps/examples/buttons/buttons_main.c') 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 * * Redistribution and use in source and binary forms, with or without @@ -45,15 +45,16 @@ ****************************************************************************/ #include -#include #include #include #include #include +#include + /**************************************************************************** - * 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 */ -- cgit v1.2.3