1
0
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:
FredericG 2010-06-20 17:59:48 +00:00 committed by FredericG
parent e5c795e42b
commit 5d9a718430
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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 */