| 276 | } |
| 277 | |
| 278 | static void setFunctionModule(BitBucket *modules, BitBucket *isFunction, uint8_t x, uint8_t y, bool on) { |
| 279 | bb_setBit(modules, x, y, on); |
| 280 | bb_setBit(isFunction, x, y, true); |
| 281 | } |
| 282 | |
| 283 | // Draws a 9*9 finder pattern including the border separator, with the center module at (x, y). |
| 284 | static void drawFinderPattern(BitBucket *modules, BitBucket *isFunction, uint8_t x, uint8_t y) { |