mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[wpiutil,hal] Update image; init Rio Now() HMB with a FPGA session (#6016)
This commit is contained in:
@@ -24,7 +24,7 @@ void bench2();
|
||||
void stress();
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
wpi::impl::SetupNowRio();
|
||||
wpi::impl::SetupNowDefaultOnRio();
|
||||
|
||||
if (argc == 2 && std::string_view{argv[1]} == "bench") {
|
||||
bench();
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "ntcore.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
wpi::impl::SetupNowRio();
|
||||
wpi::impl::SetupNowDefaultOnRio();
|
||||
nt::AddLogger(nt::GetDefaultInstance(), 0, UINT_MAX, [](auto& event) {
|
||||
if (auto msg = event.GetLogMessage()) {
|
||||
std::fputs(msg->message.c_str(), stderr);
|
||||
|
||||
Reference in New Issue
Block a user