Changeset 336 in flair-src for trunk/lib/FlairSensorActuator


Ignore:
Timestamp:
Oct 8, 2019, 4:41:35 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

use float

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/HostEthController.cpp

    r290 r336  
    9090  for (unsigned int i = 0; i < axisNumber; i++) {
    9191    // Start a new row or add up to the current row? We try to keep a 4/3 ratio
    92     unsigned int columns = sqrt(4.0 * axisNumber / 3.0);
     92    unsigned int columns = sqrtf(4.0 * axisNumber / 3.0);
    9393    LayoutPosition *position;
    9494    if (i % columns == 0) {
Note: See TracChangeset for help on using the changeset viewer.