diff --git a/Documentation/bluetooth/card10.rst b/Documentation/bluetooth/card10.rst index 3326d6d0126df05f48e2efd43ef721c64a7ea67f..f27de918e2cae05f40836fbded8198cfacbbd3ab 100644 --- a/Documentation/bluetooth/card10.rst +++ b/Documentation/bluetooth/card10.rst @@ -183,7 +183,6 @@ By defining 11x rgb from left to right. You need also to set exchange a bigger M LCD brightness characteristic --------------------------------- This charatieristic set the brightness of the lcd backlight 0-100 in ``uint16``. -It works only, if no application (pycardium app) blocks the screen. - set to 100 % ``0x6400`` - set to 20 % ``0x1400`` (default value) diff --git a/epicardium/ble/card10.c b/epicardium/ble/card10.c index 9551f78912a344ad3bfb0bcf27dfeaf2c7e3734b..73af944defceffc0cf911231ed51b7ab0ffc9c5a 100644 --- a/epicardium/ble/card10.c +++ b/epicardium/ble/card10.c @@ -736,14 +736,6 @@ static uint8_t writeCard10CB( } return ATT_SUCCESS; case CARD10_LCD_BRIGHTNESS_VAL_HDL: - intVar = epic_disp_open(); - if (intVar < 0) { - APP_TRACE_INFO1( - "ble-card10: lock display to set brightness failed: %d", - intVar - ); - return ATT_ERR_RANGE; - } BYTES_TO_UINT16(ui16, pValue); intVar = epic_disp_backlight(ui16); APP_TRACE_INFO2( @@ -751,9 +743,6 @@ static uint8_t writeCard10CB( ui16, intVar ); - epic_disp_close(); - if (intVar < 0) - return ATT_ERR_RANGE; return ATT_SUCCESS; default: APP_TRACE_INFO1(