wake-0 / fhvOS

This repository contains an os for the arm cortex a8 in combination with beaglebone.
GNU General Public License v2.0
7 stars 1 forks source link

[HAL] GPIO code refactoring #16

Closed wake-0 closed 9 years ago

wake-0 commented 9 years ago

Refactor the code for the gpio. Create hw_led.h add the board defines there. Refactor if/else to switch/case. Remove extern from the functions in the .c - file. Add names to the function parameters. Update existing mapping so that it depends on the hw_led.h. Eventually pull out the led stuff and create an led.c/ led.h file for the led specific stuff.

trylimits commented 9 years ago

Refactoring done. Further refactoring should be treated in Bug #17