File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -245,13 +245,13 @@ void getBleDevInformation(void) {
245245 ble_request_info (BLE_CMD_BATTERY );
246246 delay_ms (5 );
247247 }
248- if (! ble_build_id_state ()) {
249- ble_request_info ( BLE_CMD_BUILD_ID );
250- delay_ms ( 5 );
251- }
252- if (! ble_hash_state ()) {
253- ble_request_info ( BLE_CMD_HASH );
254- delay_ms ( 5 );
248+ if (ble_ver_state ()) { // > 1.5.1
249+ if ( strcmp ( ble_get_ver (), "1.5.1" ) > 0 ) {
250+ if (! ble_build_id_state ()) {
251+ ble_request_info ( BLE_CMD_BUILD_ID );
252+ delay_ms ( 5 );
253+ }
254+ }
255255 }
256256}
257257void refreshNfcIcon (bool force_flag ) {
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ uint16_t _getAddressType() { return __address_type; }
361361
362362uint16_t _detectAddressType (const parser_context_t * c ) {
363363 (void )c ;
364+ memset (__polkadot_ticker , 0 , sizeof (__polkadot_ticker ));
364365 if (!strncmp (polkadot_network , "polkadot" , 8 )) {
365366 __polkadot_dicimal = COIN_AMOUNT_DECIMAL_PLACES ;
366367 memcpy (__polkadot_ticker , COIN_TICKER , 4 );
You can’t perform that action at this time.
0 commit comments