Author: robhamerling
Date: Sat Nov 22 12:30:27 2008
New Revision: 595
Modified:
trunk/unvalidated/include/peripheral/data_eeprom/pic_data_eeprom.jal
Log:
Enabled 'pragma inline' statements
Modified Compiler requirement to >=2.4i
Modified:
trunk/unvalidated/include/peripheral/data_eeprom/pic_data_eeprom.jal
==============================================================================
--- trunk/unvalidated/include/peripheral/data_eeprom/pic_data_eeprom.jal
(original)
+++ trunk/unvalidated/include/peripheral/data_eeprom/pic_data_eeprom.jal
Sat Nov 22 12:30:27 2008
@@ -1,7 +1,7 @@
-- Title: reading/writing of PIC's data EEPROM
-- Author: Stef Mientki, Copyright (c) 2002..2006, all rights reserved.
-- Adapted-by: Sebastien Lelong, Rob Hamerling.
--- Compiler: >=2.4h
+-- Compiler: >=2.4i
--
-- This file is part of jallib (http://jallib.googlecode.com)
-- Released under the ZLIB license
(http://www.opensource.org/licenses/zlib-license.html)
@@ -46,7 +46,7 @@
-- ------------------------------------------------------------------------
procedure _prepare_eeprom_access(word in offset) is
--- pragma inline
+ pragma inline
var byte tempoffset[2] at offset -- type cast
while EECON1_WR loop -- allow any previous
@@ -116,7 +116,7 @@
-- ------------------------------------------------------------------------
function data_eeprom(word in offset) return byte is
--- pragma inline
+ pragma inline
var byte data
data_eeprom_read(offset, data)
return data
@@ -142,7 +142,7 @@
-- ------------------------------------------------------------------------
function data_eeprom_word(word in offset) return word is
--- pragma inline
+ pragma inline
var word data
data_eeprom_read_word(offset, data)
return data
@@ -181,7 +181,7 @@
-- ------------------------------------------------------------------------
function data_eeprom_dword(word in offset) return dword is
--- pragma inline
+ pragma inline
var dword data
data_eeprom_read_dword(offset, data)
return data
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---