send back the result of the SPI write (#1387)
All checks were successful
Build on RHEL9 / build (push) Successful in 3m21s
Build on RHEL8 / build (push) Successful in 4m47s
Run Simulator Tests on local RHEL9 / build (push) Successful in 14m39s
Build on local RHEL9 / build (push) Successful in 1m25s
Run Simulator Tests on local RHEL8 / build (push) Successful in 16m57s
Build on local RHEL8 / build (push) Successful in 3m32s

This commit is contained in:
Erik Fröjdh
2026-02-09 13:50:35 +01:00
committed by GitHub
parent 0992c7ae4c
commit 3f4df445f1
6 changed files with 22 additions and 12 deletions

View File

@@ -2206,8 +2206,8 @@ void init_det(py::module &m) {
py::arg() = Positions{});
CppDetectorApi.def(
"writeSpi",
(void (Detector::*)(int, int, const std::vector<uint8_t> &,
sls::Positions)) &
(Result<std::vector<uint8_t>>(Detector::*)(
int, int, const std::vector<uint8_t> &, sls::Positions)) &
Detector::writeSpi,
py::arg(), py::arg(), py::arg(), py::arg() = Positions{});
;