From 74fd9b55cb797c365dea6e3b3013abc61d85e39f Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 6 Nov 2024 11:50:36 -0500 Subject: [PATCH] typo & docs only:alphax-silver --- .../boards/hellen/alphax-silver/board_configuration.cpp | 2 +- firmware/config/boards/hellen/pca_board_id.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/config/boards/hellen/alphax-silver/board_configuration.cpp b/firmware/config/boards/hellen/alphax-silver/board_configuration.cpp index 4a2734138a..9f31f55810 100644 --- a/firmware/config/boards/hellen/alphax-silver/board_configuration.cpp +++ b/firmware/config/boards/hellen/alphax-silver/board_configuration.cpp @@ -4,7 +4,7 @@ #include "hellen_leds_100.cpp" #include "smart_gpio.h" #include "drivers/gpio/tle9104.h" -#include "pca_board_id.h" // bb i2c board id +#include "pca_board_id.h" // bb i2c board id, works via __weak__ magic static OutputPin alphaTempPullUp; diff --git a/firmware/config/boards/hellen/pca_board_id.h b/firmware/config/boards/hellen/pca_board_id.h index 8620415337..3d03e04b5f 100644 --- a/firmware/config/boards/hellen/pca_board_id.h +++ b/firmware/config/boards/hellen/pca_board_id.h @@ -16,7 +16,7 @@ static uint32_t getBoardRevision() { const uint8_t read_inputs_cmd[1] = {0x00}; uint8_t rx[2] = {0xff, 0xff}; - //same pins as for baso LPS25 + //same pins as for baro LPS25 m_i2c.init(Gpio::B10, Gpio::B11); // configuration registers: @@ -39,6 +39,6 @@ static uint32_t getBoardRevision() { return variant; } -int hackHellenBoardId(int /* detectedId */) { +/*PUBLIC_API_WEAK*/ int hackHellenBoardId(int /* detectedId */) { return getBoardRevision(); }