Skip to main content

close_patch

Function close_patch 

Source
pub const fn close_patch() -> Frame
Expand description

Closes the radio once the patch is written.

§Returns

The command that goes out after the last word, before commit.

§Examples

use pamoja_radios::sx1302::sx1261::close_patch;

assert_eq!(close_patch().payload(), &[0x06, 0x10, 0x00]);