Remove debug pins
This commit is contained in:
committed by
Raphael Coeffic
parent
a2b7f88e41
commit
5bbc055f3e
@@ -995,7 +995,6 @@ int cliSerialPassthrough(const char **argv)
|
|||||||
|
|
||||||
uint8_t data;
|
uint8_t data;
|
||||||
if (intmoduleFifo.pop(data)) {
|
if (intmoduleFifo.pop(data)) {
|
||||||
GPIO_SetBits(EXTMODULE_TX_GPIO, EXTMODULE_TX_GPIO_PIN);
|
|
||||||
|
|
||||||
uint8_t timeout = 10; // 10 ms
|
uint8_t timeout = 10; // 10 ms
|
||||||
while(!usbSerialFreeSpace() && (timeout > 0)) {
|
while(!usbSerialFreeSpace() && (timeout > 0)) {
|
||||||
@@ -1004,7 +1003,6 @@ int cliSerialPassthrough(const char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
usbSerialPutc(data);
|
usbSerialPutc(data);
|
||||||
GPIO_ResetBits(EXTMODULE_TX_GPIO, EXTMODULE_TX_GPIO_PIN);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// keep us up & running
|
// keep us up & running
|
||||||
|
|||||||
Reference in New Issue
Block a user