projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Remove 8051 address space specifiers
[fw/altos]
/
src
/
avr
/
ao_i2c_usart.c
diff --git
a/src/avr/ao_i2c_usart.c
b/src/avr/ao_i2c_usart.c
index c95548d4a9853aecea9a94ee286c5da5e82e4193..67bee339d28732adc8523fc3101dc98ec3f45b07 100644
(file)
--- a/
src/avr/ao_i2c_usart.c
+++ b/
src/avr/ao_i2c_usart.c
@@
-22,7
+22,7
@@
* Atmega32u4 TWI master mode (I2C)
*/
* Atmega32u4 TWI master mode (I2C)
*/
-
__xdata
uint8_t ao_i2c_mutex;
+uint8_t ao_i2c_mutex;
/* Send bytes over I2C.
*
/* Send bytes over I2C.
*
@@
-30,7
+30,7
@@
__xdata uint8_t ao_i2c_mutex;
* so using interrupts would take way too long
*/
void
* so using interrupts would take way too long
*/
void
-ao_i2c_send(void
__xdata *block, uint16_t len) __reentrant
+ao_i2c_send(void
*block, uint16_t len)
{
uint8_t *d = block;
{
uint8_t *d = block;
@@
-51,7
+51,7
@@
ao_i2c_send(void __xdata *block, uint16_t len) __reentrant
* clocks the data coming in.
*/
void
* clocks the data coming in.
*/
void
-ao_i2c_recv(void
__xdata *block, uint16_t len) __reentrant
+ao_i2c_recv(void
*block, uint16_t len)
{
uint8_t *d = block;
{
uint8_t *d = block;