projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
73f5e52
)
Commit
7cf369dcd1f9a7ca76aae2267537cd3da7e9bff5
author
Michel Pollet
<buserror@gmail.com>
Mon, 7 Nov 2016 08:46:58 +0000
(08:46 +0000)
committer
Michel Pollet
<buserror@gmail.com>
Mon, 7 Nov 2016 08:51:27 +0000
(08:51 +0000)
As per pull request #127
Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_regbit.h
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_regbit.h
b/simavr/sim/sim_regbit.h
index bc2d64be0a0293b2939c82af09e6a32206043df9..25651951250c18eaa959fbcbf01d36e998b83ace 100644
(file)
--- a/
simavr/sim/sim_regbit.h
+++ b/
simavr/sim/sim_regbit.h
@@
-93,7
+93,10
@@
static inline uint8_t avr_regbit_get(avr_t * avr, avr_regbit_t rb)
* set to test then clear register operations.
* makes cheking register bits before setting easier.
*/
-static inline uint8_t avr_regbit_from_value(avr_t * avr, avr_regbit_t rb, uint8_t value)
+static inline uint8_t avr_regbit_from_value(
+ avr_t * avr __attribute__((unused)),
+ avr_regbit_t rb,
+ uint8_t value)
{
uint16_t a = rb.reg;
if (!a)