Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Sep 3, 2024
1 parent e209087 commit d0e4a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions firmware/hw_layer/pin_repository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,7 @@ const char *hwPortname(brain_pin_e brainPin) {
return portNameBuffer;
}

void initPinRepository(void) {
/**
* this method cannot use console because this method is invoked before console is initialized
*/

void initPinRepository() {
addConsoleAction(CMD_PINS, reportPins);

#if (BOARD_TLE8888_COUNT > 0)
Expand Down
2 changes: 1 addition & 1 deletion firmware/hw_layer/pin_repository.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct PinRepository {

bool isBrainPinValid(brain_pin_e brainPin);

void initPinRepository(void);
void initPinRepository();
bool brain_pin_is_onchip(brain_pin_e brainPin);
bool brain_pin_is_ext(brain_pin_e brainPin);
void pinDiag2string(char *buffer, size_t size, brain_pin_diag_e pin_diag);
Expand Down

0 comments on commit d0e4a0c

Please sign in to comment.