ryansturmer / thinfat32

A lightweight implementation of the fat32 filesystem specification in C for embedded systems.
MIT License
101 stars 25 forks source link

Refactor of divides #2

Open ryansturmer opened 11 years ago

ryansturmer commented 11 years ago

Factoring divide operations out is possible with the current implementation. Though most are div/constant and can be factored out by the compiler, it's probably easy to do by hand, and safer for implementations of GCC that work on 8-bit micros like the AVR.