File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
10001000 if ( data . byteLength >= 13 ) {
10011001 var flags = data . readU8 ( ) ;
10021002 DATAFLASH . ready = ( flags & 1 ) != 0 ;
1003- DATAFLASH . supported = ( flags & 2 ) != 0 || DATAFLASH . ready ;
1003+ DATAFLASH . supported = ( flags & 2 ) != 0 ;
10041004 DATAFLASH . sectors = data . readU32 ( ) ;
10051005 DATAFLASH . totalSize = data . readU32 ( ) ;
10061006 DATAFLASH . usedSize = data . readU32 ( ) ;
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ TABS.onboard_logging.initialize = function (callback) {
156156
157157 if ( semver . gte ( CONFIG . apiVersion , "1.33.0" ) ) {
158158 deviceSelect . append ( '<option value="0">' + chrome . i18n . getMessage ( 'blackboxLoggingNone' ) + '</option>' ) ;
159- if ( DATAFLASH . ready ) {
159+ if ( DATAFLASH . supported ) {
160160 deviceSelect . append ( '<option value="1">' + chrome . i18n . getMessage ( 'blackboxLoggingFlash' ) + '</option>' ) ;
161161 }
162162 if ( SDCARD . supported ) {
You can’t perform that action at this time.
0 commit comments