mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
STMPE811 driver needs argument in interrupt handler
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/********************************************************************************************
|
||||
* include/nuttx/input/stmpe811.h
|
||||
*
|
||||
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2012, 2015, 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* References:
|
||||
@@ -500,7 +500,7 @@ struct stmpe811_config_s
|
||||
* clear - Acknowledge/clear any pending GPIO interrupt
|
||||
*/
|
||||
|
||||
int (*attach)(FAR struct stmpe811_config_s *state, xcpt_t isr);
|
||||
int (*attach)(FAR struct stmpe811_config_s *state, xcpt_t isr, FAR void *arg);
|
||||
void (*enable)(FAR struct stmpe811_config_s *state, bool enable);
|
||||
void (*clear)(FAR struct stmpe811_config_s *state);
|
||||
};
|
||||
|
||||
@@ -235,12 +235,6 @@ int nrf24l01_register(FAR struct spi_dev_s *spi, FAR struct nrf24l01_config_s *c
|
||||
|
||||
int nrf24l01_init(FAR struct nrf24l01_dev_s *dev);
|
||||
|
||||
/************************************************************************************
|
||||
* Get a pointer to the registered device
|
||||
************************************************************************************/
|
||||
|
||||
FAR struct nrf24l01_dev_s * nrf24l01_getinstance(void);
|
||||
|
||||
/************************************************************************************
|
||||
* Set the default TX address.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user