Skip to content

cpu/efm32/periph/timer: remove timer_set duplicate#8718

Merged
basilfx merged 1 commit into
RIOT-OS:masterfrom
cladmi:pr/cpu/efm32/remove_timer_set
Mar 1, 2018
Merged

cpu/efm32/periph/timer: remove timer_set duplicate#8718
basilfx merged 1 commit into
RIOT-OS:masterfrom
cladmi:pr/cpu/efm32/remove_timer_set

Conversation

@cladmi

@cladmi cladmi commented Mar 1, 2018

Copy link
Copy Markdown
Contributor

timer_set is already provided by 'periph_common' so does not need to be
provided by cpu/periph.

The build system currently silently ignores this.

Issues/PRs references

Its required for #8711

It was also disabled by #5757 in periph_conf.h but the function can be removed as its identical to periph_common https://github.com/RIOT-OS/RIOT/blob/2018.01/drivers/periph_common/timer.c#L24.

timer_set is already provided by 'periph_common' so does not need to be
provided by cpu/periph.
@cladmi cladmi added Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Mar 1, 2018
@cladmi cladmi added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 1, 2018
@cladmi

cladmi commented Mar 1, 2018

Copy link
Copy Markdown
Contributor Author

I have not tested that the board still works. Only compiled.

@basilfx basilfx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on STK3600 using tests/periph_timer.

ACK.

@basilfx basilfx merged commit bcffbba into RIOT-OS:master Mar 1, 2018
@cladmi

cladmi commented Mar 2, 2018

Copy link
Copy Markdown
Contributor Author

Thanks you.

@cladmi cladmi deleted the pr/cpu/efm32/remove_timer_set branch April 19, 2018 11:11
@cladmi cladmi added this to the Release 2018.04 milestone Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants