Define UART decoder
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
parent
a1dd3af692
commit
05098bbdac
1 changed files with 10 additions and 0 deletions
10
switch_uart_protocol.h
Normal file
10
switch_uart_protocol.h
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "switch_input.h"
|
||||||
|
|
||||||
|
bool switch_uart_decode_input_frame(
|
||||||
|
const uint8_t* packet,
|
||||||
|
uint8_t length,
|
||||||
|
SwitchInputState* out_state);
|
||||||
Loading…
Add table
Add a link
Reference in a new issue