Updates to encoder

This commit is contained in:
Hakan Bastedt
2023-12-28 18:46:13 +01:00
parent d9b088687f
commit 2a1111c537
3 changed files with 13 additions and 20 deletions

View File

@@ -7,16 +7,6 @@ function _;
license "GPL";
;;
// general pin set true function
void set(hal_bit_t *p){
*p = 1;
}
// general pin set false function
void unset(hal_bit_t *p){
*p = 0;
}
//main function
FUNCTION(_) {
index_latch_enable = index_c_enable;