code refactoring: [CPU] nrf51822qfaa