Commit c773137
committed
Accept 8bit I2C address from user and shift it to 7bit
Before, user has to enter 7bit address of I2C, but based on
EAPI specification, the I2C device address <adr> is expected in 8-bit hex
format with the 7-bit address in the upper seven bits and the
lowest bit set as read (1) / write (0) bit accordingly.
In other words, user must enter encoded 7bit address. EAPIlib should decode that
In addition, unsupported 10bit comparison is removed, becasue it is already
checked in EApiAPI.cpp file
Signed-off-by: reyhanehy <reyhane.y84@gmail.com>1 parent b36cd61 commit c773137
1 file changed
+6
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
| |||
436 | 426 | | |
437 | 427 | | |
438 | 428 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
452 | 432 | | |
453 | 433 | | |
454 | 434 | | |
| |||
0 commit comments