Introduce SendCommandMIX, to still get some varlen on old API

This commit is contained in:
Philippe Teuwen 2019-04-20 02:41:40 +02:00
commit 3bcf80bb34
5 changed files with 37 additions and 6 deletions

View file

@ -57,6 +57,7 @@ void *uart_receiver(void *targ);
void SendCommand(PacketCommandOLD *c);
void SendCommandOLD(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
void SendCommandNG(uint16_t cmd, uint8_t *data, size_t len);
void SendCommandMIX(uint64_t cmd, uint64_t arg0, uint64_t arg1, uint64_t arg2, void *data, size_t len);
void clearCommandBuffer(void);
#define FLASHMODE_SPEED 460800