fix ambiguous error

This commit is contained in:
Jason2866 2022-01-18 10:41:20 +01:00 committed by GitHub
parent f570941323
commit 57adb6d47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ void ESPKNXIP::__handle_root()
case FEEDBACK_TYPE_FLOAT: case FEEDBACK_TYPE_FLOAT:
m += F("<span class='input-group-text'>"); m += F("<span class='input-group-text'>");
m += feedbacks[i].options.float_options.prefix; m += feedbacks[i].options.float_options.prefix;
m += String(*(float *)feedbacks[i].data, feedbacks[i].options.float_options.precision); m += String(*(float *)feedbacks[i].data, (unsigned int)feedbacks[i].options.float_options.precision);
m += feedbacks[i].options.float_options.suffix; m += feedbacks[i].options.float_options.suffix;
m += F("</span>"); m += F("</span>");
break; break;