fw/layer1: Fix type of p3 in tdma window setup/cleanup sched items
authorSylvain Munaut <tnt@246tNt.com>
Sun, 26 Sep 2010 20:30:30 +0000 (22:30 +0200)
committerSylvain Munaut <tnt@246tNt.com>
Tue, 28 Sep 2010 06:04:18 +0000 (08:04 +0200)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/layer1/tpu_window.c

index 5cb1a5d..09437da 100644 (file)
@@ -67,7 +67,7 @@ static const uint16_t tx_burst_duration[_NUM_L1_TXWIN] = {
 };
 
 
-static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t p3)
+static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint16_t p3)
 {
        uint8_t tn;
 
@@ -79,7 +79,7 @@ static int _win_setup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t
        return 0;
 }
 
-static int _win_cleanup(__unused uint8_t p1, __unused uint8_t p2, __unused uint8_t p3)
+static int _win_cleanup(__unused uint8_t p1, __unused uint8_t p2, __unused uint16_t p3)
 {
        uint8_t tn;