jeffsf / pyDE1

Controller for the Decent Espresso DE1
GNU General Public License v3.0
77 stars 16 forks source link

DE1.write_one_mmr0x80() is mysterious #34

Closed jeffsf closed 2 years ago

jeffsf commented 2 years ago

Only one use, but why is this hard-coded and why is it not used elsewhere?

    async def write_one_mmr0x80(self, mmr0x80: MMR0x80LowAddr,
                                value: Union[int, float]):
        await self.write_packed_attr(pack_one_mmr0x80_write(
            MMR0x80LowAddr.FLUSH_TIMEOUT, value))
jeffsf commented 2 years ago

No idea why hard-coded, but resolved.

Most of the MMR writes come through the API, which handles them directly