Only print firmware version in debug build

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2023-05-01 22:20:44 +02:00
parent 4f061d1687
commit fd4ba21a0a
No known key found for this signature in database
GPG key ID: D850A5F772E880F9

View file

@ -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");