Skip to content

Commit

Permalink
Fixes compile errors on bracz-railcom board.
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsracz committed Oct 7, 2020
1 parent 1721b05 commit b715b9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boards/bracz-railcom/HwInit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static TivaCan can0("/dev/can0", CAN0_BASE, INT_RESOLVE(INT_CAN0_, 0));

const unsigned TivaEEPROMEmulation::FAMILY = TM4C123;
const size_t EEPROMEmulation::SECTOR_SIZE = 4 * 1024;
static TivaEEPROMEmulation eeprom("/dev/eeprom", 1024);
static TivaEEPROMEmulation eeprom("/dev/eeprom", 1524);

const uint32_t RailcomDefs::UART_BASE[] = RAILCOM_BASE;
const uint32_t RailcomDefs::UART_PERIPH[] = RAILCOM_PERIPH;
Expand Down
1 change: 1 addition & 0 deletions boards/bracz-railcom/hardware.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "BlinkerGPIO.hxx"
#include "utils/Debouncer.hxx"

#define HARDWARE_REVA

GPIO_PIN(SW1, GpioInputPU, F, 4);
GPIO_PIN(SW2, GpioInputPU, F, 0);
Expand Down

0 comments on commit b715b9b

Please sign in to comment.