drivers: temp_nrf5: Fix warning in ISR prototype
The ISR prototype was changed some time ago
(6df8b3995e
)
to (const void*) => fix isr function definition
to avoid a compile warning.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
c9d500cd2e
commit
83377046ba
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ static int temp_nrf5_channel_get(const struct device *dev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void temp_nrf5_isr(void *arg)
|
||||
static void temp_nrf5_isr(const void *arg)
|
||||
{
|
||||
const struct device *dev = (const struct device *)arg;
|
||||
struct temp_nrf5_data *data = dev->data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue