mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
saul_reg: define saul_reg_t dev field as a pointer to const
This commit is contained in:
parent
f4a44ce303
commit
d5ec78f917
@ -38,7 +38,7 @@ extern "C" {
|
||||
*/
|
||||
typedef struct saul_reg {
|
||||
struct saul_reg *next; /**< pointer to the next device */
|
||||
void *dev; /**< pointer to the device descriptor */
|
||||
const void *dev; /**< pointer to the device descriptor */
|
||||
const char *name; /**< string identifier for the device */
|
||||
saul_driver_t const *driver; /**< the devices read callback */
|
||||
} saul_reg_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user