Skip to content

Commit

Permalink
Fix version info bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
nHackel committed Dec 15, 2023
1 parent f546e33 commit 7b0fecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/julia/src/RedPitayaDAQServer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function connect(rp::RedPitaya)
imageVersion = imgversion(rp)
packageVersion = pkgversion(@__MODULE__)
if packageVersion.minor != imageVersion
@warn "RedPitayaDAQServer (minor) client version ($packageVersion) differs from FPGA image version ($imageVersion). Incompatible (minor) versions can result in undefined behaviour"
@warn "RedPitayaDAQServer $(rp.host) (minor) client version ($packageVersion) differs from FPGA image version ($imageVersion). Incompatible (minor) versions can result in undefined behaviour"
end
end
end
Expand Down
1 change: 1 addition & 0 deletions src/lib/rp-daq-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ uint32_t *counter_trigger_sts;
uint16_t *pdm_cfg;
uint64_t *adc_sts, *dac_cfg;
uint32_t *awg_0_cfg, *awg_1_cfg;
uint32_t *version_sts;
volatile int32_t *xadc;

// static const uint32_t ANALOG_OUT_MASK = 0xFF;
Expand Down

0 comments on commit 7b0fecb

Please sign in to comment.