some refactoring,
minor code changes added a small class for SNESController reading
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
writeByte((word>>0)&0xFF);
|
||||
}
|
||||
|
||||
void IRAM_ATTR writeByte(uint8_t byte) {
|
||||
inline void IRAM_ATTR writeByte(uint8_t byte) {
|
||||
writeBit(byte & BIT( 7));
|
||||
writeBit(byte & BIT( 6));
|
||||
writeBit(byte & BIT( 5));
|
||||
|
||||
Reference in New Issue
Block a user