| 132 | return ret; |
| 133 | } |
| 134 | inline void write(int32_t p) { |
| 135 | noInterrupts(); |
| 136 | encoder.position = p; |
| 137 | interrupts(); |
| 138 | } |
| 139 | #else |
| 140 | inline int32_t read() { |
| 141 | update(&encoder); |
nothing calls this directly
no outgoing calls
no test coverage detected