Browse Source

projects: Typo in the FTDI helper python code

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut 4 years ago
parent
commit
2a099c3c7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      projects/_common/control.py

+ 1 - 1
projects/_common/control.py

@@ -24,7 +24,7 @@ class BoardControlBase(object):
 			r = port.exchange(b'\x00', duplex=True)[0]
 			r = port.exchange(b'\x00', duplex=True)[0]
 			if r != 0xff:
 			if r != 0xff:
 				return port
 				return port
-		raise RunttimeError('Automatic SPI CS probe failed')
+		raise RuntimeError('Automatic SPI CS probe failed')
 
 
 	def reg_w16(self, reg, v):
 	def reg_w16(self, reg, v):
 		self.slave.exchange(struct.pack('>BH', reg, v))
 		self.slave.exchange(struct.pack('>BH', reg, v))