Cli: add timestamp to device_info command (#562)

This commit is contained in:
あく 2021-07-02 19:03:23 +03:00 committed by GitHub
parent 721f83dd83
commit f82a4a2260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ void cli_command_device_info(Cli* cli, string_t args, void* context) {
printf("hardware_target : %d\r\n", api_hal_version_get_hw_target()); printf("hardware_target : %d\r\n", api_hal_version_get_hw_target());
printf("hardware_body : %d\r\n", api_hal_version_get_hw_body()); printf("hardware_body : %d\r\n", api_hal_version_get_hw_body());
printf("hardware_connect : %d\r\n", api_hal_version_get_hw_connect()); printf("hardware_connect : %d\r\n", api_hal_version_get_hw_connect());
printf("hardware_timestamp : %lu\r\n", api_hal_version_get_hw_timestamp());
// Color and Region // Color and Region
printf("hardware_color : %d\r\n", api_hal_version_get_hw_color()); printf("hardware_color : %d\r\n", api_hal_version_get_hw_color());