We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2e360 commit 45b4e58Copy full SHA for 45b4e58
libraries/Bluefruit52Lib/src/services/BLEHidGeneric.cpp
@@ -232,7 +232,7 @@ err_t BLEHidGeneric::begin(void)
232
_chr_control.setPermission(SECMODE_NO_ACCESS, SECMODE_ENC_NO_MITM);
233
_chr_control.setFixedLen(1);
234
VERIFY_STATUS( _chr_control.begin() );
235
- _chr_control.write( (uint8_t) 0 );
+ _chr_control.write8(0);
236
237
return ERROR_NONE;
238
}
0 commit comments