File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ function getPartitions(device) {
4242 return device . read ( 0 , Buffer . allocUnsafe ( device . formatInfo . sectorSize ) ) . then ( ( _buf ) => new Promise ( ( resolve ) => {
4343 const partitions = [ ] ;
4444 const buf = _buf . slice ( 0x1BE , 0x1BE + 64 ) ;
45-
46- console . log ( buf . toString ( 'hex' ) ) ;
4745 for ( let i = 0 ; i < 4 ; i ++ ) {
4846 const partition = new Partition ( ) ;
4947 const type = buf [ ( i * 16 ) + 0x4 ] ;
@@ -55,7 +53,6 @@ function getPartitions(device) {
5553 partitions . push ( partition ) ;
5654 }
5755 }
58- debug ( JSON . stringify ( partitions ) ) ;
5956 resolve ( partitions ) ;
6057 } ) ) ;
6158}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ class ATA {
2626 }
2727 read ( sector , u8 ) {
2828 const numSectors = u8 . length / 512 ;
29- console . log ( numSectors ) ;
3029 return new Promise ( ( resolve , reject ) => {
3130 if ( ! this . isOnline ( ) ) return reject ( new Error ( 'Device isn\'t online' ) ) ;
3231 this . ports [ 6 ] . write8 ( this . driveSelect | ( ( sector >> 24 ) & 0x0F ) ) ;
You can’t perform that action at this time.
0 commit comments