Correction of HAL for CC2420 on concerned boards

This commit is contained in:
Kévin Roussel 2014-05-22 11:00:20 +02:00
parent 165e5ee52f
commit e77a3b0e56
3 changed files with 7 additions and 2 deletions

View File

@ -96,7 +96,7 @@ int cc2420_get_gio1(void)
return CC2420_GIO1;
}
int cc2420_get_fifop(void)
uint8_t cc2420_get_fifop(void)
{
return CC2420_FIFOP;
}

View File

@ -104,6 +104,11 @@ uint8_t cc2420_get_sfd(void)
return CC2420_SFD;
}
uint8_t cc2420_get_fifop(void)
{
return CC2420_GDO2;
}
uint8_t cc2420_get_cca(void)
{
uint8_t status;

View File

@ -111,7 +111,7 @@ int cc2420_get_gio1(void)
return CC2420_GIO1;
}
int cc2420_get_fifop(void)
uint8_t cc2420_get_fifop(void)
{
return CC2420_FIFOP;
}