fix formatting, comments
This commit is contained in:
		
							parent
							
								
									bdd06ce525
								
							
						
					
					
						commit
						8e5a101b1f
					
				| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
#ifndef _HAMSHIELD_H_
 | 
			
		||||
#define _HAMSHIELD_H_
 | 
			
		||||
 | 
			
		||||
//#include "I2Cdev_rda.h"
 | 
			
		||||
//#include "I2Cdev.h"
 | 
			
		||||
#include "HamShield_comms.h"
 | 
			
		||||
#include "SimpleFIFO.h"
 | 
			
		||||
#include "AFSK.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,7 +35,6 @@ int8_t HSreadWord(uint8_t devAddr, uint8_t regAddr, uint16_t *data)
 | 
			
		|||
	Wire.beginTransmission(devAddr);
 | 
			
		||||
    Wire.write(regAddr);
 | 
			
		||||
    Wire.endTransmission(false);
 | 
			
		||||
//                Wire.beginTransmission(devAddr);
 | 
			
		||||
    Wire.requestFrom((int)devAddr, 2); // length=words, this wants bytes
 | 
			
		||||
        
 | 
			
		||||
    bool msb = true; // starts with MSB, then LSB
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue