Rename the misspelled peripherials directory to peripherals.
This commit is contained in:
8
right/src/peripherals/merge_sensor.c
Normal file
8
right/src/peripherals/merge_sensor.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "merge_sensor.h"
|
||||
#include "fsl_port.h"
|
||||
|
||||
void InitMergeSensor() {
|
||||
CLOCK_EnableClock(MERGE_SENSOR_CLOCK);
|
||||
PORT_SetPinConfig(MERGE_SENSOR_PORT, MERGE_SENSOR_PIN,
|
||||
&(port_pin_config_t){.pullSelect=kPORT_PullUp, .mux=kPORT_MuxAsGpio});
|
||||
}
|
||||
Reference in New Issue
Block a user