Only print firmware version in debug build
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
4f061d1687
commit
fd4ba21a0a
1 changed files with 2 additions and 0 deletions
|
@ -218,9 +218,11 @@ device4_type* device4_open(device4_event_callback callback) {
|
|||
return device;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
printf("MCU: %s\n", device->mcu_app_fw_version);
|
||||
printf("DP: %s\n", device->dp_fw_version);
|
||||
printf("DSP: %s\n", device->dsp_fw_version);
|
||||
#endif
|
||||
|
||||
if (!send_payload_action(device, DEVICE4_MSG_R_BRIGHTNESS, 0, NULL)) {
|
||||
perror("Requesting initial brightness failed!\n");
|
||||
|
|
Reference in a new issue