mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 05:06:39 +01:00
TLSR Improvements
This commit is contained in:
Binary file not shown.
@@ -3,9 +3,9 @@
|
||||
#include "uart.h"
|
||||
#include "main.h"
|
||||
|
||||
#define RXD GPIO_PA0
|
||||
#define TXD GPIO_PB1
|
||||
#define UART_DEBUG
|
||||
|
||||
#ifdef UART_DEBUG
|
||||
void init_uart(void)
|
||||
{
|
||||
gpio_set_func(TXD, AS_GPIO);
|
||||
@@ -42,4 +42,20 @@ int putchar_custom(int c)
|
||||
sleep_us(10);
|
||||
};
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
void init_uart(void)
|
||||
{
|
||||
}
|
||||
|
||||
_attribute_ram_code_ void puts(const char *str)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int putchar_custom(int c)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Binary file not shown.
BIN
binaries/Tag/TLSR_HS_BWY_35_inverse.bin
Normal file
BIN
binaries/Tag/TLSR_HS_BWY_35_inverse.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user