Skip to content

Commit

Permalink
wit: remove exposure
Browse files Browse the repository at this point in the history
it was a hack to maintain the rust api.
i'm going to update our rust code.
  • Loading branch information
yamt committed Dec 6, 2023
1 parent 3ca8e27 commit 4e52d7c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions wit/property.wit
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,16 @@ interface property {
denominator: u32
}



record exposure {
/// Mode of exposure.
mode: string,
/// More parameters for exposure.
}


enum property-key {
/// The number of samples in a second. (fraction)
/// Eg. frame rate for image sensors.
sampling-rate,

dimension,
exposure,
}

variant property-value {
fraction(fraction),

dimension(dimension),
exposure(exposure),
}
}

Expand Down

0 comments on commit 4e52d7c

Please sign in to comment.