typo & docs

only:alphax-silver
This commit is contained in:
rusefillc 2024-11-06 11:50:36 -05:00
parent d7b39280fe
commit 74fd9b55cb
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();
}