summaryrefslogtreecommitdiff
path: root/components/drivers/sensors/sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/drivers/sensors/sensor.h')
-rw-r--r--components/drivers/sensors/sensor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/sensors/sensor.h b/components/drivers/sensors/sensor.h
index f9470ecb0d..08c0d2eacd 100644
--- a/components/drivers/sensors/sensor.h
+++ b/components/drivers/sensors/sensor.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -153,7 +153,7 @@ struct rt_sensor_device
const struct rt_sensor_ops *ops; /* The sensor ops */
struct rt_sensor_module *module; /* The sensor module */
-
+
rt_err_t (*irq_handle)(rt_sensor_t sensor); /* Called when an interrupt is generated, registered by the driver */
};