Skip to content

Commit

Permalink
FW-867. Remove unused functions + refactoring
Browse files Browse the repository at this point in the history
This functions are not used (or not longer used after the temporary deletion of handleCommands in openserial)
  • Loading branch information
TimothyClaeys committed May 29, 2020
1 parent 949dd98 commit 7ed3719
Show file tree
Hide file tree
Showing 11 changed files with 2,624 additions and 2,756 deletions.
1,935 changes: 944 additions & 991 deletions openstack/02a-MAClow/IEEE802154E.c

Large diffs are not rendered by default.

315 changes: 163 additions & 152 deletions openstack/02a-MAClow/IEEE802154E.h

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions openstack/02b-MAChigh/msf.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ void msf_init(void) {
open_addr_t temp_neighbor;

memset(&msf_vars, 0, sizeof(msf_vars_t));
msf_vars.numAppPacketsPerSlotFrame = 0;
sixtop_setSFcallback(
(sixtop_sf_getsfid_cbt) msf_getsfid,
(sixtop_sf_getmetadata_cbt) msf_getMetadata,
Expand Down Expand Up @@ -387,10 +386,6 @@ void msf_trigger6pDelete(void) {
);
}

void msf_appPktPeriod(uint8_t numAppPacketsPerSlotFrame) {
msf_vars.numAppPacketsPerSlotFrame = numAppPacketsPerSlotFrame;
}

bool msf_candidateAddCellList(
cellInfo_ht *cellList,
uint8_t requiredCells
Expand Down
3 changes: 0 additions & 3 deletions openstack/02b-MAChigh/msf.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

typedef struct {
bool f_hashCollision;
uint8_t numAppPacketsPerSlotFrame;
uint8_t backoff;
uint8_t numCellsElapsed_tx;
uint8_t numCellsUsed_tx;
Expand All @@ -56,8 +55,6 @@ typedef struct {
// admin
void msf_init(void);

void msf_appPktPeriod(uint8_t numAppPacketsPerSlotFrame);

uint8_t msf_getsfid(void);

bool msf_candidateAddCellList(
Expand Down
Loading

0 comments on commit 7ed3719

Please sign in to comment.