Updated README.md
Small refactoring in eagle.c