Changes in the CC2538 BSP to fix a bug and add comments to the code.