[LR11x0] Added explicit typecast
This commit is contained in:
parent
cbb8d419d1
commit
92c08c1ebf
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ int16_t LR11x0::standby(uint8_t mode, bool wakeup) {
|
|||
if(wakeup) {
|
||||
// send a NOP command - this pulls the NSS low to exit the sleep mode,
|
||||
// while preventing interference with possible other SPI transactions
|
||||
(void)this->mod->SPIwriteStream(RADIOLIB_LR11X0_CMD_NOP, NULL, 0, false, false);
|
||||
(void)this->mod->SPIwriteStream((uint16_t)RADIOLIB_LR11X0_CMD_NOP, NULL, 0, false, false);
|
||||
}
|
||||
|
||||
uint8_t buff[] = { mode };
|
||||
|
|
Loading…
Add table
Reference in a new issue