1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00

Remove line that bypassed the BMA180 startup test

This commit is contained in:
James Cotton 2012-01-21 08:46:32 -06:00
parent 6d72678086
commit ec903449cd

View File

@ -321,8 +321,6 @@ int32_t PIOS_BMA180_ReadFifo(struct pios_bma180_data * buffer)
*/
int32_t PIOS_BMA180_Test()
{
return 0;
// Read chip ID then version ID
uint8_t buf[3] = {0x80 | BMA_CHIPID_ADDR, 0, 0};
uint8_t rec[3] = {0,0, 0};