mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #12382 from hugueskamba/hk-fix-bufferedserial-exposed-enums
Fix BufferedSerial visibility of private base class enum enumeratorspull/12405/head
						commit
						4e70d04a57
					
				| 
						 | 
				
			
			@ -248,6 +248,11 @@ public:
 | 
			
		|||
 | 
			
		||||
    // Expose private SerialBase::Parity as BufferedSerial::Parity
 | 
			
		||||
    using SerialBase::Parity;
 | 
			
		||||
    using SerialBase::None;
 | 
			
		||||
    using SerialBase::Odd;
 | 
			
		||||
    using SerialBase::Even;
 | 
			
		||||
    using SerialBase::Forced1;
 | 
			
		||||
    using SerialBase::Forced0;
 | 
			
		||||
 | 
			
		||||
    /** Set the transmission format used by the serial port
 | 
			
		||||
     *
 | 
			
		||||
| 
						 | 
				
			
			@ -264,6 +269,10 @@ public:
 | 
			
		|||
    // For now use the base enum - but in future we may have extra options
 | 
			
		||||
    // such as XON/XOFF or manual GPIO RTSCTS.
 | 
			
		||||
    using SerialBase::Flow;
 | 
			
		||||
    using SerialBase::Disabled;
 | 
			
		||||
    using SerialBase::RTS;
 | 
			
		||||
    using SerialBase::CTS;
 | 
			
		||||
    using SerialBase::RTSCTS;
 | 
			
		||||
 | 
			
		||||
    /** Set the flow control type on the serial port
 | 
			
		||||
     *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue