Add derive serde

This commit is contained in:
Dominik Werder
2025-03-18 14:53:02 +01:00
parent 5c2300d83c
commit cfadac2474
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
pub fn dbg_chn(chn: &str) -> bool {
if true {
let chns = [
"SATUN21-MQUA080:I-SET",
"SATUN21-MQUA080:I-SET-ARCH",
"SATUN21-MQUA080:I-READ",
"ARS05-RAMP-0060:COUNTER",
"SSL2-LENC-MF05:H_SCALE",
"SINEG01:QE-B1-OP",

View File

@@ -1,5 +1,7 @@
use netpod::DtMs;
use netpod::TsMs;
use serde::Deserialize;
use serde::Serialize;
use std::fmt;
autoerr::create_error_v1!(
@@ -14,7 +16,7 @@ autoerr::create_error_v1!(
#[derive(Debug, Clone)]
pub struct MspU32(pub u32);
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum PrebinnedPartitioning {
Sec1,
Sec10,