add lcd
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "shell.h"
|
||||
#include "main.h"
|
||||
#include "chrg_wdt.h"
|
||||
|
||||
void show_app_version (void)
|
||||
{
|
||||
#if 0
|
||||
rt_kprintf("\r\n\r\n================================================\r\n");
|
||||
rt_kprintf("\tcharger control via RT-Thread v%d.%d.%d\r\n",
|
||||
RT_VERSION_MAJOR, RT_VERSION_MINOR, RT_VERSION_PATCH);
|
||||
@@ -19,6 +19,10 @@ void show_app_version (void)
|
||||
rt_kprintf("\tUID: %08X %08X %08X\r\n",
|
||||
HAL_GetUIDw2(), HAL_GetUIDw1(), HAL_GetUIDw0());
|
||||
rt_kprintf("================================================\r\n");
|
||||
#else
|
||||
rt_kprintf("\tcharger control via RT-Thread v%d.%d.%d built @ %s, %s\r\n",
|
||||
RT_VERSION_MAJOR, RT_VERSION_MINOR, RT_VERSION_PATCH, __DATE__, __TIME__);
|
||||
#endif
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
||||
Reference in New Issue
Block a user