Fix GPL version at 2
[fw/altos] / ao_ee.c
diff --git a/ao_ee.c b/ao_ee.c
index e731ba2a0b401bef36a8162a7097b57861a0baac..8dbb5e8368f02db1d75103ccde3f46a5364cccb6 100644 (file)
--- a/ao_ee.c
+++ b/ao_ee.c
@@ -3,8 +3,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation; version 2 of the License.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -229,7 +228,7 @@ static void
 ao_ee_fill(uint16_t block)
 {
        if (block != ao_ee_block) {
-               ao_ee_flush();
+               ao_ee_flush_internal();
                ao_ee_block = block;
                ao_ee_read_block();
        }