From 798349351c556019730961c9a561a5839ee68034 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Tue, 10 Jun 2008 23:38:14 +0200 Subject: flash: fix some errors. --- digital/avr/modules/flash/flash.c | 2 +- digital/avr/modules/flash/flash.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'digital') diff --git a/digital/avr/modules/flash/flash.c b/digital/avr/modules/flash/flash.c index cee08e31..4de0d103 100644 --- a/digital/avr/modules/flash/flash.c +++ b/digital/avr/modules/flash/flash.c @@ -145,7 +145,7 @@ flash_init (void) /* If flash read status id not correct disable the flash */ if (flash_read_status()) - flash_global.status = FLASH_DISABLE; + flash_global.flash_status = FLASH_DISABLE; /* Search for the next address to start writting. */ diff --git a/digital/avr/modules/flash/flash.h b/digital/avr/modules/flash/flash.h index 61fec8f5..ed94ec09 100644 --- a/digital/avr/modules/flash/flash.h +++ b/digital/avr/modules/flash/flash.h @@ -63,7 +63,7 @@ struct flash_t /** Current Address in the flash memory. */ uint32_t addr; /** Indicate the status of the flash memory. */ - bool flash_status; + uint8_t flash_status; }; typedef struct flash_t flash_t; -- cgit v1.2.3