mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Made pios_com_num_devices const
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@837 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
e5c795e42b
commit
5d9a718430
@ -226,7 +226,7 @@ struct pios_com_dev pios_com_devs[] = {
|
||||
},
|
||||
};
|
||||
|
||||
uint8_t pios_com_num_devices = NELEMENTS(pios_com_devs);
|
||||
const uint8_t pios_com_num_devices = NELEMENTS(pios_com_devs);
|
||||
|
||||
#endif /* PIOS_INCLUDE_COM */
|
||||
|
||||
|
@ -35,7 +35,7 @@ struct pios_com_dev {
|
||||
};
|
||||
|
||||
extern struct pios_com_dev pios_com_devs[];
|
||||
extern uint8_t pios_com_num_devices;
|
||||
extern const uint8_t pios_com_num_devices;
|
||||
|
||||
#endif /* PIOS_COM_PRIV_H */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user