RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.92k stars 1.98k forks source link

periph: remove file guards from peripheral drivers #7981

Closed haukepetersen closed 6 years ago

haukepetersen commented 6 years ago

follow up on #7241

Since #7241 was merged, there is no need anymore for ugly file guards around peripheral driver implementations, as they are now finally only touched by the compiler if they are actually (a) included in the build (using USEMODULE) and (b) provided by a board/cpu (as in FEATURES_PROVIDED). So now it is time to clean up a little bit, and this issue should help so we don't forget anything.

Removed file guards from peripheral drivers in:

PeterKietzmann commented 6 years ago

All boxes checked, I'll close