adjust dead-weight size of qrtext down wards

the sizing was such that two pages of data had to be prepared
for even very short messages. This change fits the message back
into one page of data once again.
This commit is contained in:
bunnie 2022-07-05 13:07:04 +08:00
parent 7ef4e4dc41
commit 77886fae4a

View file

@ -40,7 +40,7 @@ pub struct ManagedNotification {
pub token: [u32; 4],
pub message: xous_ipc::String<1024>,
// A Type 40 (177x177) qrcode with Medium data correction can encode max 3391 alphanumeric characters
pub qrtext: Option<xous_ipc::String<4096>>,
pub qrtext: Option<xous_ipc::String<3000>>,
}
#[derive(Debug, rkyv::Archive, rkyv::Serialize, rkyv::Deserialize, Copy, Clone)]