Skip to content

Commit

Permalink
Update simavr submodule (#375)
Browse files Browse the repository at this point in the history
* Update simavr submodule

* Fix clang error

* libELF fixes

* fix test bug
  • Loading branch information
vintagepc authored Nov 29, 2024
1 parent 1ec65e8 commit c440b01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 3rdParty/simavr
Submodule simavr updated 332 files
2 changes: 1 addition & 1 deletion MK404.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ int main(int argc, char *argv[])

m_bTerminal = argTerm.isSet();

m_bTestMode = (argModel.getValue()=="Test_Printer") | argTest.isSet();
m_bTestMode = (argModel.getValue()=="Test_Printer") || argTest.isSet();

Config::Get().SetLCDScheme(argLCDSCheme.getValue());
Config::Get().SetSoftPWM(EnabledType::GetNameToType().at(argSoftPWM.getValue()));
Expand Down
6 changes: 3 additions & 3 deletions scripts/tests/test_w25x20cl.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ int main()
printf("READY\n");

SPI_TX(0x90);
SPI_TX(0xFF);
SPI_TX(0xFF);
printf("SPI %02x\n", SPI_TX(0xFF));
SPI_TX(0x00);
SPI_TX(0x00);
printf("SPI %02x\n", SPI_TX(0x00));
printf("SPI %02x\n", SPI_TX(0xFF));
printf("SPI %02x\n", SPI_TX(0xFF));

Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/test_w25x20cl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SPIFlash::Clear()
Serial0::NextLineMustBe(READY)
ScriptHost::Log(Verify ID)
Serial0::NextLineMustBe(SPI 00)
Serial0::NextLineMustBe(SPI 11)
Serial0::NextLineMustBe(SPI ef)
Serial0::NextLineMustBe(SPI 11)
ScriptHost::Log(Check UID)
Serial0::NextLineMustBe(SPI deadbeefdeadbeef)
ScriptHost::Log(Write data)
Expand Down

0 comments on commit c440b01

Please sign in to comment.