Fix formatting
parent
1c565ddc02
commit
dc3d8941f7
|
|
@ -171,7 +171,7 @@ void ReportCommandAccepted(const mp::RequestMsg &rq, mp::ResponseMsgParamCodes s
|
|||
}
|
||||
|
||||
void ReportFINDA(const mp::RequestMsg &rq) {
|
||||
#ifdef DEBUG_FINDA
|
||||
#ifdef DEBUG_FINDA
|
||||
using namespace hal;
|
||||
hu::usart1.puts("FINDA:");
|
||||
if (hal::gpio::ReadPin(FINDA_PIN) == hal::gpio::Level::high) {
|
||||
|
|
@ -179,7 +179,7 @@ void ReportFINDA(const mp::RequestMsg &rq) {
|
|||
} else {
|
||||
hu::usart1.puts(" NOT TRIGGERED\n");
|
||||
}
|
||||
#endif //DEBUG_FINDA
|
||||
#endif //DEBUG_FINDA
|
||||
uint8_t rsp[maxMsgLen];
|
||||
uint8_t len = protocol.EncodeResponseReadFINDA(rq, mf::finda.Pressed(), rsp);
|
||||
WriteToUSART(rsp, len);
|
||||
|
|
|
|||
Loading…
Reference in New Issue