Move merge_sensor.[ch], reset_button.[ch] and test_led.[ch] into the newly created peripherials directory.

This commit is contained in:
László Monda
2017-02-26 02:50:21 +01:00
parent 6f6d116351
commit 6e415696d7
11 changed files with 8 additions and 8 deletions
+8
View File
@@ -0,0 +1,8 @@
#include "reset_button.h"
#include "fsl_port.h"
void InitResetButton() {
CLOCK_EnableClock(RESET_BUTTON_CLOCK);
PORT_SetPinConfig(RESET_BUTTON_PORT, RESET_BUTTON_PIN,
&(port_pin_config_t){.pullSelect=kPORT_PullUp, .mux=kPORT_MuxAsGpio});
}